[Koha-bugs] [Bug 33573] Add public endpoint for cancelling holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 30 15:06:57 CEST 2023


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

--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 152905
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152905&action=edit
Bug 33573: Add public endpoint for cancelling holds

This patch introduces a public endpoint for cancelling holds.
Cancellation requests are generated when the hold is waiting and
configuration allows requesting cancellation, as the OPAC does right
now.

Tests cover all the use cases.

To test:
1. Apply this patches
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/patrons_holds.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Sam Lau <samalau at gmail.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list