diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACMARCdetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/plainMARC.xsl similarity index 100% rename from koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACMARCdetail.xsl rename to koha-tmpl/opac-tmpl/bootstrap/en/xslt/plainMARC.xsl diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/plainMARC.xsl similarity index 100% rename from koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl rename to koha-tmpl/opac-tmpl/prog/en/xslt/plainMARC.xsl diff --git a/opac/opac-showmarc.pl b/opac/opac-showmarc.pl index 27ab61ca66..c78b5b14b4 100755 --- a/opac/opac-showmarc.pl +++ b/opac/opac-showmarc.pl @@ -71,7 +71,7 @@ if ($view eq 'card' || $view eq 'html') { $xslfile = "compact.xsl"; } else { # must be html - $xslfile = C4::Context->preference('marcflavour') . "slim2OPACMARCdetail.xsl"; + $xslfile = 'plainMARC.xsl'; } $xslfilename = "$htdocs/$theme/$lang/xslt/$xslfile"; $xslfilename = "$htdocs/$theme/en/xslt/$xslfile" unless ( $lang ne 'en' && -f $xslfilename );