Bugzilla – Attachment 40109 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]
[SIGNED OFF] Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
SIGNED-OFF-Bug-14094-DDC---Add-separators-for-repe.patch (text/plain), 2.43 KB, created by
Nick Clemens (kidclamp)
on 2015-06-12 21:48:42 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2015-06-12 21:48:42 UTC
Size:
2.43 KB
patch
obsolete
>From 89ba8353fcf5edc11798ae5ceb5928984b85129b 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] [SIGNED OFF] 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 > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >--- > 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