From fa2e517546626ffe798452b18f3cc1f887481b92 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 16 Sep 2022 11:38:15 +0000 Subject: [PATCH] Bug 13600: XSLT - 8xx not showing if there is no 4xx This patch adjusts XSLT so that series tag displays if any 440,490,800,810,830 is present It also adjusts 8xx to display even if 490 ind 1 = 1 is not present To test: 1 - Check records with multiple series tag 2 - Confirm display is correct Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi --- .../prog/en/xslt/MARC21slimUtils.xsl | 172 +++++++++--------- .../bootstrap/en/xslt/MARC21slimUtils.xsl | 172 +++++++++--------- 2 files changed, 170 insertions(+), 174 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index fc29e9203b8..317a3a3c1aa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -408,7 +408,7 @@ - + Series: @@ -459,93 +459,91 @@ | - - - - - - ?q=rcn: - - - - a_t - - - - - - - ?q=an: - - - - a_t - - - - - - - ?q=se,phr:""&q=au:"" - - - - a_t - - - - - - - - ; - - | - + + + + + ?q=rcn: + + + + a_t + + + + + + + ?q=an: + + + + a_t + + + + + + + ?q=se,phr:""&q=au:"" + + + + a_t + + + + + + + + ; + + | + - - - - - - - - a_t - - - - - - - ?q=an: - - - - a_t - - - - - - - ?q=se,phr:"" - - - - a_t - - - - - - - - - ; - - | - - + + + + + + + + a_t + + + + + + + ?q=an: + + + + a_t + + + + + + + ?q=se,phr:"" + + + + a_t + + + + + + + + + ; + + | + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 98618cefcee..52c53a4de0e 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -372,7 +372,7 @@ - + Series: @@ -423,93 +423,91 @@ | - - - - - - ?q=rcn: - - - - a_t - - - - - - - ?q=an: - - - - a_t - - - - - - - ?q=se,phr:""&q=au:"" - - - - a_t - - - - - - - - ; - - | - + + + + + ?q=rcn: + + + + a_t + + + + + + + ?q=an: + + + + a_t + + + + + + + ?q=se,phr:""&q=au:"" + + + + a_t + + + + + + + + ; + + | + - - - - - - - - a_t - - - - - - - ?q=an: - - - - a_t - - - - - - - ?q=se,phr:"" - - - - a_t - - - - - - - - - ; - - | - - + + + + + + + + a_t + + + + + + + ?q=an: + + + + a_t + + + + + + + ?q=se,phr:"" + + + + a_t + + + + + + + + + ; + + | + -- 2.38.1