Bugzilla – Attachment 46256 Details for
Bug 15444
MARC21: Repeated 508 not correctly formatted (missing separator)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Corrects repeated 508 formatting
0001-Bug-15444-MARC21-Repeated-508-not-correctly-formatte.patch (text/plain), 2.31 KB, created by
Winona Salesky
on 2016-01-05 14:18:42 UTC
(
hide
)
Description:
Corrects repeated 508 formatting
Filename:
MIME Type:
Creator:
Winona Salesky
Created:
2016-01-05 14:18:42 UTC
Size:
2.31 KB
patch
obsolete
>From 9a9553c8bb910894b6efaab0bd4724d70fe940a8 Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Mon, 4 Jan 2016 09:33:00 -0500 >Subject: [PATCH] Bug 15444 - MARC21: Repeated 508 not correctly formatted > (missing separator) >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch adds a separator for multiple 508 fields to the XSLT display in the staff and OPAC detail view. >Separator is wrapped in span with class=âseparatorâ for easy manipulation via css. > >To test: >* Search the OPAC >* Click the title with multiple 508 fields >* Make sure the fields display properly >* Repeat for a few more titles >* Repeat in the Staff Client >--- > 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 a2f7a0c..556f44f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -847,6 +847,7 @@ > <xsl:call-template name="subfieldSelectSpan"> > <xsl:with-param name="codes">a</xsl:with-param> > </xsl:call-template> >+ <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> > </xsl:for-each> > </div> > </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 68a6235..f9690d8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -947,6 +947,7 @@ > <xsl:call-template name="subfieldSelectSpan"> > <xsl:with-param name="codes">a</xsl:with-param> > </xsl:call-template> >+ <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if> > </xsl:for-each> > </div> > </xsl:if> >-- >2.5.4 (Apple Git-61) >
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 15444
:
46256
|
46302
|
46363