Lines 382-387
unless ($noreserves) {
Link Here
|
382 |
my $biblioLoop = []; |
382 |
my $biblioLoop = []; |
383 |
my $numBibsAvailable = 0; |
383 |
my $numBibsAvailable = 0; |
384 |
my $itemdata_enumchron = 0; |
384 |
my $itemdata_enumchron = 0; |
|
|
385 |
my $itemdata_ccode = 0; |
385 |
my $anyholdable = 0; |
386 |
my $anyholdable = 0; |
386 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
387 |
my $itemLevelTypes = C4::Context->preference('item-level_itypes'); |
387 |
$template->param('item_level_itypes' => $itemLevelTypes); |
388 |
$template->param('item_level_itypes' => $itemLevelTypes); |
Lines 442-447
foreach my $biblioNum (@biblionumbers) {
Link Here
|
442 |
$itemLoopIter->{homeBranchName} = $itemInfo->{homebranch}; |
443 |
$itemLoopIter->{homeBranchName} = $itemInfo->{homebranch}; |
443 |
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber}; |
444 |
$itemLoopIter->{callNumber} = $itemInfo->{itemcallnumber}; |
444 |
$itemLoopIter->{enumchron} = $itemInfo->{enumchron}; |
445 |
$itemLoopIter->{enumchron} = $itemInfo->{enumchron}; |
|
|
446 |
$itemLoopIter->{ccode} = $itemInfo->{ccode}; |
445 |
$itemLoopIter->{copynumber} = $itemInfo->{copynumber}; |
447 |
$itemLoopIter->{copynumber} = $itemInfo->{copynumber}; |
446 |
if ($itemLevelTypes) { |
448 |
if ($itemLevelTypes) { |
447 |
$itemLoopIter->{translated_description} = $itemInfo->{translated_description}; |
449 |
$itemLoopIter->{translated_description} = $itemInfo->{translated_description}; |
Lines 546-555
foreach my $biblioNum (@biblionumbers) {
Link Here
|
546 |
if ($itemLoopIter->{enumchron}) { |
548 |
if ($itemLoopIter->{enumchron}) { |
547 |
$itemdata_enumchron = 1; |
549 |
$itemdata_enumchron = 1; |
548 |
} |
550 |
} |
|
|
551 |
# Show collection when needed |
552 |
if ($itemLoopIter->{ccode}) { |
553 |
$itemdata_ccode = 1; |
554 |
} |
549 |
|
555 |
|
550 |
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter; |
556 |
push @{$biblioLoopIter{itemLoop}}, $itemLoopIter; |
551 |
} |
557 |
} |
552 |
$template->param( itemdata_enumchron => $itemdata_enumchron ); |
558 |
$template->param( |
|
|
559 |
itemdata_enumchron => $itemdata_enumchron, |
560 |
itemdata_ccode => $itemdata_ccode, |
561 |
); |
553 |
|
562 |
|
554 |
if ($numCopiesAvailable > 0) { |
563 |
if ($numCopiesAvailable > 0) { |
555 |
$numBibsAvailable++; |
564 |
$numBibsAvailable++; |
556 |
- |
|
|