Bug 31183: Add Koha::Item::Transfers->filter_by_current
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Jul 2022 21:33:47 +0000 (18:33 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 Aug 2022 11:26:24 +0000 (08:26 -0300)
commit96e0402573a6d19b5fcd815609651a5c6c447d92
treeecda62bcbd16a0fd3bb5546d1121c953bceeb1bc
parent3ab8807d7e41d734f671720fffe56bf9e1fce61c
Bug 31183: Add Koha::Item::Transfers->filter_by_current

This patch introduces the aforementioned method.

To test:
1. Apply this unit tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Item/Transfers.t
=> FaIL: method not defined?
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Item/Transfers.pm