bug 2545: fix XSLTDetailsDisplay
Corrected so that when XSLTDetailsDisplay is ON but XSLTResultsDisplay is OFF, the portion of the OPAC bib details page that's derived from the MARC bib record is no longer missing. Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
3d71f57306
commit
25f6fa4581
|
|
@ -62,8 +62,8 @@ my $record = GetMarcBiblio($biblionumber);
|
|||
$template->param( biblionumber => $biblionumber );
|
||||
# XSLT processing of some stuff
|
||||
if (C4::Context->preference("XSLTDetailsDisplay") ) {
|
||||
$template->param(
|
||||
'XSLTBloc' => XSLTParse4Display($biblionumber, $record, 'Detail') );
|
||||
my $newxmlrecord = XSLTParse4Display($biblionumber,C4::Context->config('opachtdocs')."/prog/en/xslt/MARC21slim2OPACDetail.xsl");
|
||||
$template->param('XSLTBloc' => $newxmlrecord);
|
||||
}
|
||||
|
||||
# change back when ive fixed request.pl
|
||||
|
|
|
|||
Loading…
Reference in New Issue