From d35bcd9bb8890b8ad2121e21e5e4f44adf571b3e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 26 Mar 2020 22:30:52 +0000 Subject: [PATCH] Bug 17938: Fix display of label for repeated MARC 583 - Action note fields When there are mulitple 583 on a record, the label "Action note" will be repeated for each. This fixes it, so that the label only appears once and multiple fields are separated by | following the existing pattern. Also makes sure there is a space between $z and other subfields. Note: Ind. 1 = private - These won't display in the OPAC Ind. 1 = 0 or empty - These will display in the OPAC Staff will display all 583 independent from indicator. To test: - Add one or more records with none, one and muliple 583, at least one including $z For examples see: http://www.loc.gov/marc/bibliographic/bd583.html - Verify display problems - Apply patch - Verify display is improved - one label and $z is followed by a space Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- .../en/xslt/MARC21slim2intranetDetail.xsl | 37 +++++++++---------- .../en/xslt/MARC21slim2OPACDetail.xsl | 29 +++++++-------- 2 files changed, 32 insertions(+), 34 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 16775d89b1..23944c557a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1010,25 +1010,24 @@ - - - - - Action note: - - - - - - - abcdefgijklnou - - - - - - - + + + Action note: + + + + + + + + abcdefgijklnou + + + + | + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 2b0eca3be2..56e67e82fd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1087,24 +1087,23 @@ - - - + Action note: - - - - - - - abcdefgijklnou - - - + + + + + + + + abcdefgijklnou + + + + | + - - -- 2.39.5