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:
parent
031e53958a
commit
05b39b50e0
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue