From fe81e831fa3eee755c4d8d523d174b6197388723 Mon Sep 17 00:00:00 2001 From: Jane Wagner Date: Mon, 16 Nov 2009 14:18:31 -0500 Subject: [PATCH] Bug 3788 XSLT does not obey viewISBD syspref Content-Type: text/plain; charset="utf-8" Modified XSLT.pm and MARC21slim2OPACDetail.xsl to obey the viewISBD syspref setting in the OPAC. --- C4/XSLT.pm | 2 +- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/C4/XSLT.pm b/C4/XSLT.pm index 98b06da..a495b35 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -125,7 +125,7 @@ sub XSLTParse4Display { my $itemsxml = buildKohaItemsNamespace($biblionumber); my $xmlrecord = $record->as_xml(); my $sysxml = "\n"; - foreach my $syspref ( qw/OPACURLOpenInNewWindow DisplayOPACiconsXSLT URLLinkText/ ) { + foreach my $syspref ( qw/OPACURLOpenInNewWindow DisplayOPACiconsXSLT URLLinkText viewISBD/ ) { $sysxml .= "" . C4::Context->preference( $syspref ) . "\n"; diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 351bd50..3b4d348 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -19,6 +19,7 @@ + @@ -157,7 +158,9 @@ Normal View MARC View Expanded MARC View + Card View (ISBD) + -- 1.5.6.5