Bugzilla – Attachment 6341 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]
proposed patch
0001-Bug-6971-XSLT-Opac-Detail-displays-245-subfields-out.patch (text/plain), 1.95 KB, created by
Albert Oller
on 2011-11-18 19:02:28 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Albert Oller
Created:
2011-11-18 19:02:28 UTC
Size:
1.95 KB
patch
obsolete
>From d4231b8ae50810a89109f0fb99fbffdd525d57d7 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. > >245 Subfields in the OPAC Detail Display (MARC21slim2OPACDetail.xsl) are being >reordered once saved. Changed 245 $a$b: $h to display as 245 $a$h: $b >--- > .../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