Lines 384-390
$template->param( 'ItemsIssued' => CountItemsIssued( $biblionumber ) );
Link Here
|
384 |
|
384 |
|
385 |
$template->param('OPACShowCheckoutName' => C4::Context->preference("OPACShowCheckoutName") ); |
385 |
$template->param('OPACShowCheckoutName' => C4::Context->preference("OPACShowCheckoutName") ); |
386 |
# change back when ive fixed request.pl |
386 |
# change back when ive fixed request.pl |
387 |
my @all_items = GetItemsInfo( $biblionumber ); |
387 |
my @all_items = GetItemsInfo( $biblionumber, 1 ); |
388 |
|
388 |
|
389 |
# adding items linked via host biblios |
389 |
# adding items linked via host biblios |
390 |
my $marcflavour = C4::Context->preference("marcflavour"); |
390 |
my $marcflavour = C4::Context->preference("marcflavour"); |
Lines 398-404
if ($marcflavour eq 'MARC21' || $marcflavour eq 'NORMARC'){
Link Here
|
398 |
foreach my $hostfield ( $record->field($analyticfield)) { |
398 |
foreach my $hostfield ( $record->field($analyticfield)) { |
399 |
my $hostbiblionumber = $hostfield->subfield("0"); |
399 |
my $hostbiblionumber = $hostfield->subfield("0"); |
400 |
my $linkeditemnumber = $hostfield->subfield("9"); |
400 |
my $linkeditemnumber = $hostfield->subfield("9"); |
401 |
my @hostitemInfos = GetItemsInfo($hostbiblionumber); |
401 |
my @hostitemInfos = GetItemsInfo( $hostbiblionumber, 1); |
402 |
foreach my $hostitemInfo (@hostitemInfos){ |
402 |
foreach my $hostitemInfo (@hostitemInfos){ |
403 |
if ($hostitemInfo->{itemnumber} eq $linkeditemnumber){ |
403 |
if ($hostitemInfo->{itemnumber} eq $linkeditemnumber){ |
404 |
push(@all_items, $hostitemInfo); |
404 |
push(@all_items, $hostitemInfo); |