From ae2c1e6a83fab8b76606cc84a306b37d3b7403e4 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 Signed-off-by: Kyle M Hall --- circ/returns.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/circ/returns.pl b/circ/returns.pl index 6b39d594b3..5382e191c2 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.39.5