]> 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)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Fri, 13 Jan 2023 15:51:33 +0000 (15:51 +0000)
commitda7e30b703557d09636cebc2cf5981492a9afc3d
treefcd7908edd8a774d3a281d98dc482d5e136a3030
parent5716787f09fad428f0cec689d6e081485aab6c1b
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>
(cherry picked from commit f8b7a5a9cd6bbd9ff5f6e58e6e6391178a2588da)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
Koha/Holds.pm
t/db_dependent/Koha/Holds.t