X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=serials%2Frouting-preview.pl;h=154d47735a0ee00fb987226806301dbe0e4ac180;hb=a8428e141eb533ac5fafe80d38931a36d927a329;hp=8d6850a62b568a98831a7e87c424d3fcaabf7e86;hpb=413a1e1e61b343db47b9b6fdecf3d981d87013ef;p=koha_fer diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl index 8d6850a62b..154d47735a 100755 --- a/serials/routing-preview.pl +++ b/serials/routing-preview.pl @@ -87,7 +87,12 @@ if($ok){ my $reserve = $sth->fetchrow_hashref; if($routing->{borrowernumber} == $reserve->{borrowernumber}){ - ModReserve($routing->{ranking},$biblio,$routing->{borrowernumber},$branch); + ModReserve({ + rank => $routing->{ranking}, + biblionumber => $biblio, + borrowernumber => $routing->{borrowernumber}, + branchcode => $branch + }); } else { AddReserve($branch,$routing->{borrowernumber},$biblio,$const,\@bibitems,$routing->{ranking}, undef, undef, $notes,$title); } @@ -133,6 +138,7 @@ $template->param( routingnotes => $routingnotes, generalroutingnote => C4::Context->preference('RoutingListNote'), hasRouting => check_routing($subscriptionid), + (uc(C4::Context->preference("marcflavour"))) => 1 ); output_html_with_http_headers $query, $cookie, $template->output;