Singlebranchmode was always 0 causing the branch to be null and the reservations in the OPAC not to work in singlebranchmode.
Signed-off-by: Kristina D.C. Hoeppner <kristina@catalyst.net.nz> http://bugs.koha-community.org/show_bug.cgi?id=7581 Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
f3197e20eb
commit
b67e1304f6
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ if ( $query->param('place_reserve') ) {
|
|||
my $itemNum = shift(@selectedItems);
|
||||
my $branch = shift(@selectedItems); # i.e., branch code, not name
|
||||
|
||||
my $singleBranchMode = $template->param('singleBranchMode');
|
||||
my $singleBranchMode = C4::Context->preference("singleBranchMode");
|
||||
if ($singleBranchMode || ! $OPACChooseBranch) { # single branch mode or disabled user choosing
|
||||
$branch = $borr->{'branchcode'};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue