From 2757fe3165dadc66086ad468260b34ac25fdb607 Mon Sep 17 00:00:00 2001 From: Marion Durand Date: Tue, 21 Sep 2021 16:07:00 +0200 Subject: [PATCH] Bug 28976 : MARC21 Dots from field 100 are omitted in the OPAC and staff client When there is some dot in field 100 (for example when the name have an initials at the end) the dot is omitted in the OPAC ans the staff interface. To test: 1- Find or create a record with a dot in field 100 2a- From the staff interface, search the catalog for your record. Observe that the dot is omitted 2b- From the staff interface, go to the detail page of your record. Observe that the dot is omitted 2c- Repeat step 2a and 2b from the OPAC 3- Apply the patch 4- Repeat step 2. Observe that the dot is now display on all the pages. --- .../en/xslt/MARC21slim2intranetResults.xsl | 119 +++++++++++++++++- .../prog/en/xslt/MARC21slimUtils.xsl | 4 +- .../en/xslt/MARC21slim2OPACResults.xsl | 9 +- .../bootstrap/en/xslt/MARC21slimUtils.xsl | 4 +- 4 files changed, 128 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index ab6bbb9530..483e7cf09c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -440,13 +440,23 @@ - + + + + + . + , - + + + + + . + , @@ -455,13 +465,23 @@ - + + + + + . + , - + + + + + . + , @@ -470,7 +490,96 @@ - . | + + + + + + + + + + . + + + + + + + . + + + + . + + + + + + . + + + + + + + + + + + . + + + + + + + . + + + + . + + + + + + . + + + + + + + + + + + . + + + + + + + . + + + + . + + + + + + . + + + + + + + |

diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index dfc9cc0186..4b83751449 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -114,12 +114,14 @@ + .:,;/ - + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 40e73b4f22..02384bde16 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -634,7 +634,13 @@ - . | + + + + + . + + | @@ -1186,6 +1192,7 @@ height:100px; + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 105da508c7..b5e929c7a1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -111,12 +111,14 @@ + .:,;/ - + + -- 2.17.1