[Koha-bugs] [Bug 34333] Add cancellation request information embed option to the holds endpoint

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 21 02:00:40 CEST 2023


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 153744
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153744&action=edit
Bug 34333: Add Koha::Hold->cancellation_requested

This patch adds a helper method for telling if a hold has cancellation
requests. To be used for embedding such information.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Koha/Hold.t
=> SUCCESS: Tests pass, the new method is covered by tests.
3. Sign off :-D

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


More information about the Koha-bugs mailing list