]> git.koha-community.org Git - koha.git/commit
Bug 24295: Remove GetTransfers from opac-reserve.pl
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Mar 2021 15:56:20 +0000 (15:56 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 26 Aug 2022 18:42:14 +0000 (15:42 -0300)
commit245da0f19803f33fd3fd051f0f586e39f63e7eb5
tree8e494e29529ca1fbaeddb09820499e09af32e78f
parent7b31a3582403ab56de1e1a133bf7d9c79d85c7c3
Bug 24295: Remove GetTransfers from opac-reserve.pl

This patch replaces the call to GetTransfers in opac-reserve with the
get_transfer method available from the Koha::Item object

Test plan
1/ Place a reserve on an item at a different branch
2/ Trigger the transfer of the item
3/ Check the opac-reserves page for the display of the current transfer
status
4/ Apply patch
5/ Repeat step 3

Rebased-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
opac/opac-reserve.pl