[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
Thu May 26 21:22:52 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22456
--- Comment #40 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 135400
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135400&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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list