From dd18ec355bcd369b4d9b1017caf0851d067cf811 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 11 Aug 2019 12:52:18 +0200 Subject: [PATCH] Bug 22884: Show separator between 440 and 490 fields This adds a ; as separator between 440 and 490 fields used in the same record. Currently we loop first 440 and then 490. 490 is displayed depending on the indicator. So after we finish the first loop, we check for existence of 490 on the same record now to decide if a separator is needed. To test: - Look at various records using one or multiple 440 and 490 fields - Verify the display is correct, especially when both appar on the same record in both OPAC and staff Signed-off-by: Hayley Mapley Signed-off-by: Hayley Mapley Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 9 ++++++++- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 80e8edf097..66936f7368 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -207,7 +207,14 @@ - ; + + + + ; + + + ; + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 73be7d55f7..6cc223e7dd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -226,7 +226,14 @@ - ; + + + + ; + + + ; + -- 2.39.2