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

--- Comment #1 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 138899
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138899&action=edit
Bug 31328: Make Koha::Item->get_transfer* use
Koha::Item::Transfers->filter_by_current

This patch makes the get_transfer and get_transfers methods internally
use the new ->filter_by_current method.

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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to