[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:57:34 CEST 2023


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

Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #152113|0                           |1
        is obsolete|                            |

--- Comment #6 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
Created attachment 152115
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152115&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