[Koha-bugs] [Bug 31183] Add Koha::Item::Transfers->filter_by_current

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 20 19:07:25 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31183

Michal Urban <michalurban177 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137853|0                           |1
        is obsolete|                            |

--- Comment #6 from Michal Urban <michalurban177 at gmail.com> ---
Created attachment 137946
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137946&action=edit
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 at theke.io>
Signed-off-by: Michal Urban <michalurban177 at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list