Lines 690-695
my $separatebranch = C4::Context->preference('OpacSeparateHoldingsBranch');
Link Here
|
690 |
my $viewallitems = $query->param('viewallitems'); |
690 |
my $viewallitems = $query->param('viewallitems'); |
691 |
my $max_items_to_display = C4::Context->preference('OpacMaxItemsToDisplay') // 50; |
691 |
my $max_items_to_display = C4::Context->preference('OpacMaxItemsToDisplay') // 50; |
692 |
|
692 |
|
|
|
693 |
# Get component parts details |
694 |
my $showcomp = C4::Context->preference('ShowComponentRecords'); |
695 |
if ( $showcomp eq 'both' || $showcomp eq 'opac' ) { |
696 |
if ( my $components = $biblio->get_marc_analytics(300) ) { |
697 |
my $xslparts = C4::Context->preference('OPACXSLTResultsDisplay') || "default"; |
698 |
if ( $xslparts ) { |
699 |
my $parts; |
700 |
for my $part ( @{$components} ) { |
701 |
$part = MARC::Record->new_from_xml( $part, 'UTF-8' ); |
702 |
|
703 |
push @{$parts}, |
704 |
XSLTParse4Display( 1, $part, "OPACXSLTResultsDisplay", 1, |
705 |
undef, $sysxml, $xslparts, $lang, ); |
706 |
} |
707 |
$template->param( |
708 |
ComponentParts => $parts |
709 |
); |
710 |
} |
711 |
} |
712 |
} |
713 |
|
693 |
# Get items on order |
714 |
# Get items on order |
694 |
my ( @itemnumbers_on_order ); |
715 |
my ( @itemnumbers_on_order ); |
695 |
if ( C4::Context->preference('OPACAcquisitionDetails' ) ) { |
716 |
if ( C4::Context->preference('OPACAcquisitionDetails' ) ) { |
696 |
- |
|
|