From 25f6fa45819d03ada459b6e71017ecc84ed7326e Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 21 Aug 2008 19:59:45 -0500 Subject: [PATCH] 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 Signed-off-by: Chris Cormack --- opac/opac-detail.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 2130f995b9..bdf1866f3d 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -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 -- 2.20.1