X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=circ%2Fwaitingreserves.pl;h=e924bcff754db8de8c05dfa5c73e07e5e89c84dc;hb=5db10480f81c2816a6b1934bf37d160e9a99b11c;hp=62d3ca87d55da1131244f6d17694e8126ae91812;hpb=7c6d572b4cde370c5b64a7bd10ad50a28233aa39;p=koha_fer diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 62d3ca87d5..e924bcff75 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -91,8 +91,12 @@ if ($item) { ModItemTransfer( $item, $fbr, $tbr ); } } -$template->param( all_branches_link => $input->url . '?allbranches=1&' . $input->query_string ) - unless $all_branches; +if ( C4::Context->preference('IndependantBranches') ) { + undef $all_branches; +} else { + $template->param( all_branches_link => $input->url . '?allbranches=1&' . $input->query_string ) + unless $all_branches; +} my (@reservloop, @overloop); my ($reservcount, $overcount);