From 1ede995ecb7312cb55fe279b829fbda1379ee7c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pichenot?= Date: Wed, 13 Apr 2022 13:20:11 +0200 Subject: [PATCH] Bug 30430: UNIMARC XSLT add field B214 display test plan : - Apply patch - Find a record with a B214 - Check on both Opac-Details and Opac-Result that the field is displayed. - Do the same checks on catalogue/search results and catalogue/details in Staff interface. - Add a 210 field to the record (legacy) - It should be displayed as well Signed-off-by: David Nind --- .../en/xslt/UNIMARCslim2intranetDetail.xsl | 2 + .../en/xslt/UNIMARCslim2intranetResults.xsl | 2 + .../prog/en/xslt/UNIMARCslimUtils.xsl | 115 +++++++++++++++-- .../en/xslt/UNIMARCslim2OPACDetail.xsl | 2 + .../en/xslt/UNIMARCslim2OPACResults.xsl | 2 + .../bootstrap/en/xslt/UNIMARCslimUtils.xsl | 118 ++++++++++++++++-- 6 files changed, 220 insertions(+), 21 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl index 1fc5d88f3d..afb896fe89 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl @@ -140,6 +140,8 @@ + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl index 5d0a06da15..f982a6217e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl @@ -75,6 +75,8 @@ + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl index a27353cb70..419fe9d6d2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl @@ -32,32 +32,129 @@ Publication: - + +
+
+ - - - : + + + + : + + + + , + - + + : + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + , + + - + + , + + - - -
+ + + + + + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + + + , + + + + + + + + + + + + + + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl index 4066be9ab4..3fab572ee9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl @@ -188,6 +188,8 @@ + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl index 9d8c7de16e..2d6711fb12 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl @@ -153,6 +153,8 @@ + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl index 8c5b7fde95..bd8c1f430d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl @@ -193,30 +193,124 @@ Publication: - + +
+
+ + + + + : + + + + + + , + + - - : + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+
+ + + + + + + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + , + - - + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + + , - - + + + + + + + + + + + + - - - - - + + -- 2.30.2