From bd4150e777beb1d92202059ef7bbc70682196a21 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 Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi --- C4/ILSDI/Services.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm index e929b37d91..5ebba3435d 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, @@ -852,7 +852,7 @@ sub HoldItem { my $priority = C4::Reserves::CalculatePriority($biblionumber); AddReserve( { - branch => $branch, + branchcode => $branch, borrowernumber => $borrowernumber, biblionumber => $biblionumber, priority => $priority, -- 2.26.2