From 55e7f595688530ed434cd1278f286c8e79a6d08b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 8 Feb 2017 17:49:41 +0100 Subject: [PATCH] Bug 17940: (follow-up 14695) Fix - Mark holds as waiting when transfer is done When an item from Library A is reserved and set to be picked up at Library B, the hold buttons fail to confirm or cancel during check in at Library B when the item is transferred from Library A. Test plan: * Create a hold for item at Library A to be picked up at Library B. * Check in item at Library A to trigger the transfer. => item shows in transit * Switch to Library B and check in item. * Confirm the hold. => item shows waiting Signed-off-by: Christopher Brannon Signed-off-by: Nick Clemens https://bugs.koha-community.org/show_bug.cgi?id=17040 --- circ/returns.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/circ/returns.pl b/circ/returns.pl index 6b39d59..5382e19 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -467,6 +467,7 @@ if ( $messages->{'ResFound'}) { borrowernumber => $reserve->{'borrowernumber'}, itemnumber => $reserve->{'itemnumber'}, reservenotes => $reserve->{'reservenotes'}, + reserve_id => $reserve->{reserve_id}, bormessagepref => $holdmsgpreferences->{'transports'}, ); } # else { ; } # error? -- 2.9.3