Bugzilla – Attachment 186833 Details for
Bug 40862
Repeated 028 fields are missing a separator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40862: Add separator to repeated 028 fields
Bug-40862-Add-separator-to-repeated-028-fields.patch (text/plain), 2.25 KB, created by
Lari Taskula
on 2025-09-23 16:52:34 UTC
(
hide
)
Description:
Bug 40862: Add separator to repeated 028 fields
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2025-09-23 16:52:34 UTC
Size:
2.25 KB
patch
obsolete
>From a35d45c3ae5b97ee0f2ca391ca94ee4b7ffaffc1 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@hypernova.fi> >Date: Tue, 23 Sep 2025 19:48:39 +0300 >Subject: [PATCH] Bug 40862: Add separator to repeated 028 fields > >To test: >1. Add multiple 028 fields to a record >2. Navigate to both OPAC and staff interface record detail view >3. Observe two 028 separated with a | character >--- > .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 1 + > .../opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 4 ++++ > 2 files changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 70adb5ffbcd..038d179cd4e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -880,6 +880,7 @@ > <xsl:with-param name="codes">abq</xsl:with-param> > <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> > </xsl:call-template> >+ <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> > </xsl:for-each> > </span> > </xsl:if> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 5d09a54b97d..d95380aa0c3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -210,12 +210,16 @@ > <xsl:if test="marc:datafield[@tag=028]"> > <span class="results_summary publisher_number "> > <span class="label">Publisher number: </span> >+ <ul class="resource_list"> > <xsl:for-each select="marc:datafield[@tag=028]"> >+ <li> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">abq</xsl:with-param> > <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> > </xsl:call-template> >+ </li> > </xsl:for-each> >+ </ul> > </span> > </xsl:if> > >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40862
: 186833 |
186834