From 9bf03bfde41a300509b3c86fb5ed361fadc098fa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 8 Feb 2017 17:49:41 +0100 Subject: [PATCH] [SIGNED OFF] 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: Your Full Name --- 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.1.4