[Koha-bugs] [Bug 25755] Add a Koha::Item->request_transfer method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 18 16:00:09 CEST 2020


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

--- Comment #11 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 110394
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110394&action=edit
Bug 25755: Add Unit tests for update get_transfer

We updated Koha::Item->get_transfer here to account for the new
daterequested field availability. It is now possible to set requested
without setting datesent simultaneiously.. as such we need to update
get_transfer to ensure we always return the right transfer (either the
one 'in transit' or the oldest request first.

This patch update the unit tests to test for this.

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


More information about the Koha-bugs mailing list