]> git.koha-community.org Git - koha.git/commit
Bug 34333: Add Koha::Hold->cancellation_requested
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 20 Jul 2023 23:16:39 +0000 (20:16 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 18 Sep 2023 21:42:11 +0000 (11:42 -1000)
commite932dc8372310eda321c4d473053c0c4d211cfd6
treeadd844301ba24b9acd357f7ad7379c75f8d4c6ac
parent4aedaed0bc07160b2ca387c9bd08faa741746fa2
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

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 23cfdf97e379255139a6a3a73d74ee60f36aa5a2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Hold.pm
t/db_dependent/Koha/Hold.t