Lines 385-390
my $itemdata_enumchron = 0;
Link Here
|
385 |
my $itemdata_ccode = 0; |
385 |
my $itemdata_ccode = 0; |
386 |
my $anyholdable = 0; |
386 |
my $anyholdable = 0; |
387 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
387 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
|
|
388 |
my $pickup_locations = Koha::Libraries->search({ pickup_location => 1 }); |
388 |
$template->param('item_level_itypes' => $itemLevelTypes); |
389 |
$template->param('item_level_itypes' => $itemLevelTypes); |
389 |
|
390 |
|
390 |
foreach my $biblioNum (@biblionumbers) { |
391 |
foreach my $biblioNum (@biblionumbers) { |
Lines 614-619
foreach my $biblioNum (@biblionumbers) {
Link Here
|
614 |
$anyholdable = 1 if $biblioLoopIter{holdable}; |
615 |
$anyholdable = 1 if $biblioLoopIter{holdable}; |
615 |
} |
616 |
} |
616 |
|
617 |
|
|
|
618 |
unless ($pickup_locations->count) { |
619 |
$numBibsAvailable = 0; |
620 |
$anyholdable = 0; |
621 |
$template->param( |
622 |
message => 1, |
623 |
no_pickup_locations => 1 |
624 |
); |
625 |
} |
617 |
|
626 |
|
618 |
if ( $numBibsAvailable == 0 || $anyholdable == 0) { |
627 |
if ( $numBibsAvailable == 0 || $anyholdable == 0) { |
619 |
$template->param( none_available => 1 ); |
628 |
$template->param( none_available => 1 ); |
620 |
- |
|
|