Bugzilla – Attachment 39974 Details for
Bug 14094
DDC - Add separators for repeated $a subfields (MARC21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
Bug-14094-DDC---Add-separators-for-repeated-a-subf.patch (text/plain), 2.36 KB, created by
Katrin Fischer
on 2015-06-08 02:49:42 UTC
(
hide
)
Description:
Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-06-08 02:49:42 UTC
Size:
2.36 KB
patch
obsolete
>From f5f7cd9e744f0e245b774837b2c38bc462e78b58 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Mon, 8 Jun 2015 04:46:05 +0200 >Subject: [PATCH] Bug 14094: DDC - Add separators for repeated $a subfields > (MARC21) > >Mulitple 082 fields are already separated by |, but multiple >$a in one 082 field were only separated by space, making those >not easy to read. > >Patch takes care that the | separator is used in all cases. > >To test: >- Catalog a record with multiple 082 fields >- Add one or multiple $a subfields to each >- Verify every single classification is separated from > the others with a | in staff and in OPAC detail pages >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 1 + > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 1 + > 2 files changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index d077e35..73a2126 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -705,6 +705,7 @@ > <xsl:for-each select="marc:datafield[@tag=082]"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">a</xsl:with-param> >+ <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> > </xsl:call-template> > <xsl:choose> > <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 8b7d559..695c39f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -760,6 +760,7 @@ > <xsl:for-each select="marc:datafield[@tag=082]"> > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">a</xsl:with-param> >+ <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> > </xsl:call-template> > <xsl:choose> > <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when> >-- >1.9.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 14094
:
39974
|
40109
|
40376