Bug 21130: (Follow up OPAC Results) Prevent HTML class from being translated
authorBlou <philippe.blouin@inlibro.com>
Tue, 11 Sep 2018 18:42:03 +0000 (14:42 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Mar 2019 19:09:17 +0000 (19:09 +0000)
This fixes the same issue where "title" is being translated (in fr-CA at least) and thus
break the javascript impacting the result display in the OPAC

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl

index abaf7dd..7b858e1 100644 (file)
             </xsl:call-template>
             <xsl:value-of select="str:encode-uri($biblionumber, true())"/>
         </xsl:attribute>
-        <xsl:attribute name="class">title</xsl:attribute>
+        <xsl:attribute name="class"><xsl:value-of select="'title'" /></xsl:attribute>
 
         <xsl:if test="marc:datafield[@tag=245]">
             <xsl:for-each select="marc:datafield[@tag=245]">