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

(-)a/opac/opac-addbybiblionumber.pl (-2 / +1 lines)
Lines 115-126 sub HandleShelfNumber { Link Here
115
sub HandleSelectedShelf {
115
sub HandleSelectedShelf {
116
    if($authorized= ShelfPossibleAction( $loggedinuser, $selectedshelf, 'add')){
116
    if($authorized= ShelfPossibleAction( $loggedinuser, $selectedshelf, 'add')){
117
        #adding to specific shelf
117
        #adding to specific shelf
118
        my ($singleshelf, $singleshelfname, $singlecategory)= GetShelf($query->param('selectedshelf'));
118
        my ($singleshelf, $singleshelfname)= GetShelf($query->param('selectedshelf'));
119
        $template->param(
119
        $template->param(
120
        singleshelf               => 1,
120
        singleshelf               => 1,
121
        shelfnumber               => $singleshelf,
121
        shelfnumber               => $singleshelf,
122
        shelfname                 => $singleshelfname,
122
        shelfname                 => $singleshelfname,
123
        "category$singlecategory" => 1
124
        );
123
        );
125
    }
124
    }
126
}
125
}
(-)a/virtualshelves/addbybiblionumber.pl (-3 / +1 lines)
Lines 161-172 sub HandleShelfNumber { Link Here
161
sub HandleSelectedShelf {
161
sub HandleSelectedShelf {
162
    if($authorized= ShelfPossibleAction( $loggedinuser, $shelfnumber, 'add')){
162
    if($authorized= ShelfPossibleAction( $loggedinuser, $shelfnumber, 'add')){
163
        #confirm adding to specific shelf
163
        #confirm adding to specific shelf
164
        my ($singleshelf, $singleshelfname, $singlecategory)= GetShelf($shelfnumber);
164
        my ($singleshelf, $singleshelfname)= GetShelf($shelfnumber);
165
        $template->param(
165
        $template->param(
166
        singleshelf               => 1,
166
        singleshelf               => 1,
167
        shelfnumber               => $singleshelf,
167
        shelfnumber               => $singleshelf,
168
        shelfname                 => $singleshelfname,
168
        shelfname                 => $singleshelfname,
169
        "category$singlecategory" => 1
170
        );
169
        );
171
    }
170
    }
172
    else {
171
    else {
173
- 

Return to bug 7788