Lines 387-392
unless ($noreserves) {
Link Here
|
387 |
my $biblioLoop = []; |
387 |
my $biblioLoop = []; |
388 |
my $numBibsAvailable = 0; |
388 |
my $numBibsAvailable = 0; |
389 |
my $itemdata_enumchron = 0; |
389 |
my $itemdata_enumchron = 0; |
|
|
390 |
my $itemdata_ccode = 0; |
390 |
my $anyholdable = 0; |
391 |
my $anyholdable = 0; |
391 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
392 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
392 |
$template->param('item_level_itypes' => $itemLevelTypes); |
393 |
$template->param('item_level_itypes' => $itemLevelTypes); |
Lines 447-452
foreach my $biblioNum (@biblionumbers) {
Link Here
|
447 |
$itemLoopIter->{homeBranchName} = $itemInfo->{homebranch}; |
448 |
$itemLoopIter->{homeBranchName} = $itemInfo->{homebranch}; |
448 |
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber}; |
449 |
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber}; |
449 |
$itemLoopIter->{enumchron} = $itemInfo->{enumchron}; |
450 |
$itemLoopIter->{enumchron} = $itemInfo->{enumchron}; |
|
|
451 |
$itemLoopIter->{ccode} = $itemInfo->{ccode}; |
450 |
$itemLoopIter->{copynumber} = $itemInfo->{copynumber}; |
452 |
$itemLoopIter->{copynumber} = $itemInfo->{copynumber}; |
451 |
if ($itemLevelTypes) { |
453 |
if ($itemLevelTypes) { |
452 |
$itemLoopIter->{translated_description} = $itemInfo->{translated_description}; |
454 |
$itemLoopIter->{translated_description} = $itemInfo->{translated_description}; |
Lines 551-560
foreach my $biblioNum (@biblionumbers) {
Link Here
|
551 |
if ($itemLoopIter->{enumchron}) { |
553 |
if ($itemLoopIter->{enumchron}) { |
552 |
$itemdata_enumchron = 1; |
554 |
$itemdata_enumchron = 1; |
553 |
} |
555 |
} |
|
|
556 |
# Show collection when needed |
557 |
if ($itemLoopIter->{ccode}) { |
558 |
$itemdata_ccode = 1; |
559 |
} |
554 |
|
560 |
|
555 |
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter; |
561 |
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter; |
556 |
} |
562 |
} |
557 |
$template->param( itemdata_enumchron => $itemdata_enumchron ); |
563 |
$template->param( |
|
|
564 |
itemdata_enumchron => $itemdata_enumchron, |
565 |
itemdata_ccode => $itemdata_ccode, |
566 |
); |
558 |
|
567 |
|
559 |
if ($numCopiesAvailable > 0) { |
568 |
if ($numCopiesAvailable > 0) { |
560 |
$numBibsAvailable++; |
569 |
$numBibsAvailable++; |
561 |
- |
|
|