- AddReserve($branch,$routing->{borrowernumber},$biblionumber,undef,$routing->{ranking}, undef, undef, $notes,$title);
+ AddReserve(
+ {
+ branchcode => $branch,
+ borrowernumber => $routing->{borrowernumber},
+ biblionumber => $biblionumber,
+ priority => $routing->{ranking},
+ notes => $notes,
+ title => $title,
+ }
+ );