[Koha-bugs] [Bug 33573] Add public endpoint for cancelling holds
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 16:41:21 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33573
Sam Lau <samalau at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #152108|0 |1
is obsolete| |
--- Comment #4 from Sam Lau <samalau at gmail.com> ---
Created attachment 152113
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152113&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list