]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 12 Oct 2023 16:00:19 +0000 (16:00 +0000)
commit95e9d2c3bc569116ae6649ac30f3b9bae1094f98
treef286e1c446666a8fb2c79e081ae1f0e62a8d47f1
parent77d9bfb93bf1829f903811c75f43cbf154897ff3
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>
(cherry picked from commit e932dc8372310eda321c4d473053c0c4d211cfd6)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Koha/Hold.pm
t/db_dependent/Koha/Hold.t