catalyst-wr68480: better handling of holds re IndependantBranches

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Srdjan Jankovic 2010-04-26 07:44:32 +12:00 committed by Galen Charlton
parent 7c6d572b4c
commit 76aee72fd1
1 changed files with 6 additions and 2 deletions

View File

@ -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);