]> git.koha-community.org Git - koha.git/commit
Bug 31183: Use filter_by_current in Koha::Holds->get_items_that_can_fill
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Jul 2022 21:39:51 +0000 (18:39 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 Aug 2022 11:26:25 +0000 (08:26 -0300)
commit9d527ad8a45292598c04f5ec5d88c49ffab34fa5
treecf071c8cf037c4b36a9377b449e49604ab58d441
parent96e0402573a6d19b5fcd815609651a5c6c447d92
Bug 31183: Use filter_by_current in Koha::Holds->get_items_that_can_fill

This patch makes the method use the new
Koha::Item::Transfers->filter_by_current one.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Michal Urban <michalurban177@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Holds.pm