]> git.koha-community.org Git - koha.git/commit
Bug 32529: Add Koha::Holds->filter_by_found
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 26 Dec 2022 16:02:25 +0000 (13:02 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 Jan 2023 12:21:10 +0000 (09:21 -0300)
commitf8b7a5a9cd6bbd9ff5f6e58e6e6391178a2588da
treeb5125c85e6a78bceb5921c24df06a56ab8b1f874
parentb48ea1b4520700b20ab38e39370d86e4277807cc
Bug 32529: Add Koha::Holds->filter_by_found

This patch adds a method for filtering Koha::Holds resultsets by the
status belonging to Koha's concept of 'found'.

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Holds.pm
t/db_dependent/Koha/Holds.t