Bugzilla – Attachment 6502 Details for
Bug 6971
XSLT Opac Detail displays 245 subfields out of order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6971: XSLT Opac Detail displays 245 subfields out of order.
Bug-6971-XSLT-Opac-Detail-displays-245-subfields-o.patch (text/plain), 2.16 KB, created by
Jared Camins-Esakov
on 2011-12-02 00:53:17 UTC
(
hide
)
Description:
Bug 6971: XSLT Opac Detail displays 245 subfields out of order.
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2011-12-02 00:53:17 UTC
Size:
2.16 KB
patch
obsolete
>From bd766623a88812ec5e6a79ecd733978a7ae05810 Mon Sep 17 00:00:00 2001 >From: Albert Oller <ago@bywatersolutions.com> >Date: Fri, 18 Nov 2011 13:49:07 -0500 >Subject: [PATCH] Bug 6971: XSLT Opac Detail displays 245 subfields out of order. >Content-Type: text/plain; charset="UTF-8" > >245 Subfields in the OPAC Detail Display (MARC21slim2OPACDetail.xsl) are being >reordered on display. Instead of displaying 245$a 245$h 245$b, the stylesheet >was displaying 245$a 245$b 245$h. This patch does not address ISBD punctuation. > >Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> >Clarified commit message. >--- > .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >index e16db73..2d88880 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl >@@ -95,16 +95,16 @@ > <xsl:call-template name="subfieldSelect"> > <xsl:with-param name="codes">a</xsl:with-param> > </xsl:call-template> >- <xsl:if test="marc:subfield[@code='b']"> >+ <xsl:if test="marc:subfield[@code='h']"> > <xsl:text> </xsl:text> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">b</xsl:with-param> >+ <xsl:with-param name="codes">h</xsl:with-param> > </xsl:call-template> > </xsl:if> >- <xsl:if test="marc:subfield[@code='h']"> >+ <xsl:if test="marc:subfield[@code='b']"> > <xsl:text> </xsl:text> > <xsl:call-template name="subfieldSelect"> >- <xsl:with-param name="codes">h</xsl:with-param> >+ <xsl:with-param name="codes">b</xsl:with-param> > </xsl:call-template> > </xsl:if> > <xsl:text> </xsl:text> >-- >1.7.2.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 6971
:
6341
| 6502 |
6503
|
6506