From d32f41bda06adfa448d24d2632ed58c65c94bf8f Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 22 Aug 2021 03:29:47 +0000 Subject: [PATCH] Bug 10265: Keep punctuation for 8xx series added entry fields (MARC21) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit At the moment the punctuation entered for $n $p and is removed in the part template, which leads to displaying the subfields without any punctuation and spaces in between. To test: - Catalog records with various combinations of 8xx series added entry fields. Subfield a, t, n, p and v are the most important. - Verify the display in OPAC and staff is not great. - Apply the patch. - Verify the display in OPAC and staff is improved. For examples see: https://www.loc.gov/marc/bibliographic/bd80x83x.html Important note: At the moment 8xx series added entry fields will only display, when there is also a 490 ind. 1 = 1 field present. Signed-off-by: Hayley Pelham Signed-off-by: Joonas Kylmälä Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit a9d66c087a2cd609b3181472ae47377df1d0a840) Signed-off-by: Fridolin Somers --- .../prog/en/xslt/MARC21slimUtils.xsl | 16 ++++++++-------- .../bootstrap/en/xslt/MARC21slimUtils.xsl | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl index 1916a711dd..c9678499f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl @@ -495,9 +495,9 @@ - + ; | @@ -537,9 +537,9 @@ - + ; @@ -566,15 +566,15 @@ fghkdlmor + + . + - - - + + - - - + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 13e70d0ee8..4e918ea174 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -459,10 +459,10 @@ - - : + + ; | @@ -501,9 +501,9 @@ - + ; @@ -530,15 +530,15 @@ fghkdlmor + + . + - - - + + - - - + -- 2.39.5