Lines 79-86
if(my $cart_list = $query->cookie("bib_list")){
Link Here
|
79 |
} |
79 |
} |
80 |
} |
80 |
} |
81 |
|
81 |
|
82 |
$template->param( 'ItemsIssued' => CountItemsIssued( $biblionumber ) ); |
|
|
83 |
|
84 |
my $marcflavour = C4::Context->preference("marcflavour"); |
82 |
my $marcflavour = C4::Context->preference("marcflavour"); |
85 |
|
83 |
|
86 |
my @items = GetItemsInfo($biblionumber); |
84 |
my @items = GetItemsInfo($biblionumber); |
Lines 183-191
for my $itm (@items) {
Link Here
|
183 |
unless $allow_onshelf_holds; |
181 |
unless $allow_onshelf_holds; |
184 |
} |
182 |
} |
185 |
|
183 |
|
|
|
184 |
if( $allow_onshelf_holds || CountItemsIssued($biblionumber) || $biblio->hasItemswaitingOrInTransit ) { |
185 |
$template->param( ReservableItems => 1 ); |
186 |
} |
187 |
|
186 |
$template->param( |
188 |
$template->param( |
187 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
189 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
188 |
AllowOnShelfHolds => $allow_onshelf_holds, |
|
|
189 |
norequests => $norequests, |
190 |
norequests => $norequests, |
190 |
ISBD => $res, |
191 |
ISBD => $res, |
191 |
biblio => $biblio, |
192 |
biblio => $biblio, |