Bug 22456: Add Koha::Holds->filter_by_has_cancellation_requests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 23 May 2022 14:44:19 +0000 (11:44 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 29 Jul 2022 18:28:29 +0000 (15:28 -0300)
commita40f8f697f78b5937876d127afeb2bd3dfa5027b
tree6a02da1965c0c87ba9babf2acbee2f97ff0fb53e
parente22e91aae4912b97a4bd8729e8c97efbfd8f3e44
Bug 22456: Add Koha::Holds->filter_by_has_cancellation_requests

This patch adds that method. Which is covered by new tests.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Holds.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Sponsored-by: Montgomery County Public Libraries
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Holds.pm
t/db_dependent/Koha/Holds.t