From: Srdjan Jankovic <[email protected]>
Signed-off-by: Chris Cormack <[email protected]>
---
circ/waitingreserves.pl | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl
index 62d3ca8..e924bcf 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);
--
1.6.3.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches