[Koha-patches] [PATCH] Bug 2773 - Previous fix seems to have been corrupted
Frédéric Demians
f.demians at tamil.fr
Mon Oct 19 08:34:18 CEST 2009
This but was fixed with XSLT transliteration string function
specifying XML entities. It seems that something in the patch process
modifyied those entities.
---
.../prog/en/xslt/UNIMARCslim2OPACDetail.xsl | 2 +-
.../prog/en/xslt/UNIMARCslim2OPACResults.xsl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
index 87d48fe..5156a5e 100644
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACDetail.xsl
@@ -24,7 +24,7 @@
<xsl:call-template name="addClassRtl" />
<xsl:variable name="title" select="marc:subfield[@code='a']"/>
<xsl:variable name="ntitle"
- select="translate($title, '˜œ','')"/>
+ select="translate($title, 'ˆ‰','')"/>
<xsl:value-of select="$ntitle" />
<xsl:if test="marc:subfield[@code='e']">
<xsl:text> : </xsl:text>
diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl
index 612295e..2f7287f 100644
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl
+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslim2OPACResults.xsl
@@ -28,7 +28,7 @@
<xsl:for-each select="marc:datafield[@tag=200]">
<xsl:variable name="title" select="marc:subfield[@code='a']"/>
<xsl:variable name="ntitle"
- select="translate($title, '˜œ','')"/>
+ select="translate($title, 'ˆ‰','')"/>
<div>
<xsl:call-template name="addClassRtl" />
<span class="results_summary">
--
1.6.4.3
More information about the Koha-patches
mailing list