[Koha-bugs] [Bug 22456] Allow patrons to cancel their waiting holds
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 8 22:50:24 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22456
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #135408|0 |1
is obsolete| |
--- Comment #61 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 135842
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135842&action=edit
Bug 22456: Add cancellation request methods to Koha::Hold
This patch adds the following helper methods for dealing with hold
cancellation requests to the Koha::Hold class:
* cancellation_requests
* add_cancellation_request
* cancellation_requestable_from_opac
* cancellation_requested_by_owner
To test:
1. Apply this patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Hold.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Sponsored-by: Montgomery County Public Libraries
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list