[Patches] [PATCH] Bug 6971: XSLT Opac Detail displays 245 subfields out of order.
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Mon Nov 21 12:45:15 NZDT 2011
From: Albert Oller <ago at 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
More information about the Patches
mailing list