[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 May 18 22:40:48 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22456

--- Comment #17 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 135169
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135169&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