View | Details | Raw Unified | Return to bug 6976
Collapse All | Expand All

(-)a/opac/opac-reserve.pl (-2 / +2 lines)
Lines 164-170 foreach my $biblioNumber (@biblionumbers) { Link Here
164
#
164
#
165
if ( $query->param('place_reserve') ) {
165
if ( $query->param('place_reserve') ) {
166
    my $notes = $query->param('notes');
166
    my $notes = $query->param('notes');
167
	my $canreserve=0;
168
167
169
    # List is composed of alternating biblio/item/branch
168
    # List is composed of alternating biblio/item/branch
170
    my $selectedItems = $query->param('selecteditems');
169
    my $selectedItems = $query->param('selecteditems');
Lines 197-202 if ( $query->param('place_reserve') ) { Link Here
197
        my $itemNum   = shift(@selectedItems);
196
        my $itemNum   = shift(@selectedItems);
198
        my $branch    = shift(@selectedItems); # i.e., branch code, not name
197
        my $branch    = shift(@selectedItems); # i.e., branch code, not name
199
198
199
        my $canreserve = 0;
200
200
        my $singleBranchMode = $template->param('singleBranchMode');
201
        my $singleBranchMode = $template->param('singleBranchMode');
201
        if ($singleBranchMode || ! $OPACChooseBranch) { # single branch mode or disabled user choosing
202
        if ($singleBranchMode || ! $OPACChooseBranch) { # single branch mode or disabled user choosing
202
            $branch = $borr->{'branchcode'};
203
            $branch = $borr->{'branchcode'};
203
- 

Return to bug 6976