From b5f22fd1a5f44f94d682811da2bca9de137b054a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 24 Feb 2023 15:42:00 +0000 Subject: [PATCH] Bug 31123: Add all subfields to OPAC stylsheet This patch updates the OPAC XSLT's to display all subfields, barring the 'x' field which is often used as a 'private note' in other notes fields. We also handle converting subfield 'u' to a hyper link if it's found to be present and use subfield 'a' for the link text if present. --- .../en/xslt/MARC21slim2OPACDetail.xsl | 28 ++++++++++++++----- .../en/xslt/MARC21slim2OPACResults.xsl | 24 ++++++++++++---- 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index d943359bd5..141e95a966 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1306,15 +1306,29 @@ Content warning: - - + + + + + + + + + + + + + + + + + + - - - abcdefgijklnou - - + + bcdefghijklmnopqrstvwyz + | diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 7bc534a430..6b15773592 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1166,15 +1166,29 @@ Content warning: - - + + + + + + + + + + + + + + + + + + - abcdefgijklnou + bcdefghijklmnopqrstvwyz - - | -- 2.39.2