From 76aee72fd1017bfdb448b927563003c915bc3365 Mon Sep 17 00:00:00 2001 From: Srdjan Jankovic Date: Mon, 26 Apr 2010 07:44:32 +1200 Subject: [PATCH] catalyst-wr68480: better handling of holds re IndependantBranches Signed-off-by: Chris Cormack Signed-off-by: Galen Charlton --- circ/waitingreserves.pl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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); -- 2.39.5