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 <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-04-24 11:25:43 +02:00 committed by Martin Renvoize
parent 031e53958a
commit 05b39b50e0
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 2 additions and 2 deletions

View File

@ -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,