]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Sep 2023 18:31:48 +0000 (15:31 -0300)
commit23cfdf97e379255139a6a3a73d74ee60f36aa5a2
tree25fd7ba5ade50c2435b1c6e2a14ab8791e12bc1f
parentac7581e90a79961a4de915f0592834eb9f2611c5
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>
Koha/Hold.pm
t/db_dependent/Koha/Hold.t