[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 Oct 2 14:33:09 CEST 2020


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

--- Comment #23 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 111144
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111144&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.

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list