[Koha-bugs] [Bug 33573] Holds cancellation for waiting holds via the API don't generate a cancellation request

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 15:45:00 CEST 2023


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

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

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


More information about the Koha-bugs mailing list