Bugzilla – Attachment 194377 Details for
Bug 36001
Show MARC field 362 for serials in OPAC and staff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36001: Show MARC21 362 on OPAC and staff
Bug-36001-Show-MARC21-362-on-OPAC-and-staff.patch (text/plain), 3.61 KB, created by
Marcel de Rooy
on 2026-03-03 12:52:34 UTC
(
hide
)
Description:
Bug 36001: Show MARC21 362 on OPAC and staff
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2026-03-03 12:52:34 UTC
Size:
3.61 KB
patch
obsolete
>From 239a08c7108b41821b12a05384052408b7d4af30 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 5 Feb 2026 08:28:03 +0100 >Subject: [PATCH] Bug 36001: Show MARC21 362 on OPAC and staff >Content-Type: text/plain; charset=utf-8 > >Test plan: >Find a serial. >Add a 362 with some content in $a >Check the normal view on OPAC and staff. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > .../en/xslt/MARC21slim2intranetDetail.xsl | 17 +++++++++++++++ > .../en/xslt/MARC21slim2OPACDetail.xsl | 21 +++++++++++++++++++ > 2 files changed, 38 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index adaebc0900..268aed7367 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -458,6 +458,23 @@ > </span> > </xsl:if> > >+ <!-- 362 - Dates of Publication and/or Sequential Designation --> >+ <xsl:if test="marc:datafield[@tag=362]"> >+ <span class="results_summary start_end_date"> >+ <span class="label">Dates of publication and/or sequential designation: </span> >+ <xsl:for-each select="marc:datafield[@tag=362]"> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ <xsl:with-param name="delimeter"> </xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ </xsl:call-template> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > <!-- 385 - Audience --> > <xsl:if test="marc:datafield[@tag=385]"> > <span class="results_summary audience"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 1795788a76..88760748c8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -516,6 +516,27 @@ > </span> > </xsl:if> > >+ <!-- 362 - Dates of Publication and/or Sequential Designation --> >+ <xsl:if test="marc:datafield[@tag=362]"> >+ <span class="results_summary start_end_date"> >+ <span class="label">Dates of publication and/or sequential designation: </span> >+ <ul class="resource_list"> >+ <xsl:for-each select="marc:datafield[@tag=362]"> >+ <li> >+ <xsl:call-template name="chopPunctuation"> >+ <xsl:with-param name="chopString"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ <xsl:with-param name="delimeter"> </xsl:with-param> >+ </xsl:call-template> >+ </xsl:with-param> >+ </xsl:call-template> >+ </li> >+ </xsl:for-each> >+ </ul> >+ </span> >+ </xsl:if> >+ > <!-- 385 - Audience --> > <xsl:if test="marc:datafield[@tag=385]"> > <span class="results_summary audience"> >-- >2.39.5
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 36001
:
194376
|
194377
|
194381