From 53e047465d45d363b5ff2ca8b587544324456840 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 24 Apr 2020 11:25:43 +0200 Subject: [PATCH] Bug 24769: (bug 14711 follow-up) Fix typo in parameter name for AddReserve The parameter is branchcode, not branch. Test plan: Place a hold on a biblio using ILSDI Check that the branchcode is correctly filled with the patron's library --- C4/ILSDI/Services.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index c3240579bd..82070fc79e 100644 --- a/C4/ILSDI/Services.pm +++ b/C4/ILSDI/Services.pm @@ -756,7 +756,7 @@ sub HoldTitle { my $priority= C4::Reserves::CalculatePriority( $biblionumber ); AddReserve( { - branch => $branch, + branchcode => $branch, borrowernumber => $borrowernumber, biblionumber => $biblionumber, priority => $priority, -- 2.20.1