Lines 703-726
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
Link Here
|
703 |
} |
703 |
} |
704 |
|
704 |
|
705 |
## get notes and subjects from MARC record |
705 |
## get notes and subjects from MARC record |
706 |
my $dbh = C4::Context->dbh; |
706 |
if (!C4::Context->preference("OPACXSLTDetailsDisplay") ) { |
|
|
707 |
my $marcisbnsarray = GetMarcISBN ($record,$marcflavour); |
708 |
my $marcauthorsarray = GetMarcAuthors ($record,$marcflavour); |
709 |
my $marcsubjctsarray = GetMarcSubjects($record,$marcflavour); |
710 |
my $marcseriesarray = GetMarcSeries ($record,$marcflavour); |
711 |
my $marcurlsarray = GetMarcUrls ($record,$marcflavour); |
712 |
my $marchostsarray = GetMarcHosts($record,$marcflavour); |
713 |
|
714 |
$template->param( |
715 |
MARCSUBJCTS => $marcsubjctsarray, |
716 |
MARCAUTHORS => $marcauthorsarray, |
717 |
MARCSERIES => $marcseriesarray, |
718 |
MARCURLS => $marcurlsarray, |
719 |
MARCISBNS => $marcisbnsarray, |
720 |
MARCHOSTS => $marchostsarray, |
721 |
); |
722 |
} |
723 |
|
707 |
my $marcnotesarray = GetMarcNotes ($record,$marcflavour); |
724 |
my $marcnotesarray = GetMarcNotes ($record,$marcflavour); |
708 |
my $marcisbnsarray = GetMarcISBN ($record,$marcflavour); |
|
|
709 |
my $marcauthorsarray = GetMarcAuthors ($record,$marcflavour); |
710 |
my $marcsubjctsarray = GetMarcSubjects($record,$marcflavour); |
711 |
my $marcseriesarray = GetMarcSeries ($record,$marcflavour); |
712 |
my $marcurlsarray = GetMarcUrls ($record,$marcflavour); |
713 |
my $marchostsarray = GetMarcHosts($record,$marcflavour); |
714 |
my $subtitle = GetRecordValue('subtitle', $record, GetFrameworkCode($biblionumber)); |
725 |
my $subtitle = GetRecordValue('subtitle', $record, GetFrameworkCode($biblionumber)); |
715 |
|
726 |
|
716 |
$template->param( |
727 |
$template->param( |
717 |
MARCNOTES => $marcnotesarray, |
728 |
MARCNOTES => $marcnotesarray, |
718 |
MARCSUBJCTS => $marcsubjctsarray, |
|
|
719 |
MARCAUTHORS => $marcauthorsarray, |
720 |
MARCSERIES => $marcseriesarray, |
721 |
MARCURLS => $marcurlsarray, |
722 |
MARCISBNS => $marcisbnsarray, |
723 |
MARCHOSTS => $marchostsarray, |
724 |
norequests => $norequests, |
729 |
norequests => $norequests, |
725 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
730 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
726 |
itemdata_ccode => $itemfields{ccode}, |
731 |
itemdata_ccode => $itemfields{ccode}, |
727 |
- |
|
|