Bugzilla – Attachment 78566 Details for
Bug 21130
Detail XSLT produces translatable HTML class
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21130: (Follow up OPAC Results) Prevent HTML class from being translated
Bug-21130-Follow-up-OPAC-Results-Prevent-HTML-clas.patch (text/plain), 1.21 KB, created by
Blou
on 2018-09-11 18:44:43 UTC
(
hide
)
Description:
Bug 21130: (Follow up OPAC Results) Prevent HTML class from being translated
Filename:
MIME Type:
Creator:
Blou
Created:
2018-09-11 18:44:43 UTC
Size:
1.21 KB
patch
obsolete
>From 61939d942fd04886e2bde9585a37bdd21c1e9ba4 Mon Sep 17 00:00:00 2001 >From: Blou <philippe.blouin@inlibro.com> >Date: Tue, 11 Sep 2018 14:42:03 -0400 >Subject: [PATCH] Bug 21130: (Follow up OPAC Results) Prevent HTML class from > being translated > >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 >--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index fd98cb1..68997ec 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -415,7 +415,7 @@ > </xsl:call-template> > <xsl:value-of select="$biblionumber"/> > </xsl:attribute> >- <xsl:attribute name="class">title</xsl:attribute> >+ <xsl:attribute name="class"><xls:value-of select="'title'"></xsl:attribute> > > <xsl:if test="marc:datafield[@tag=245]"> > <xsl:for-each select="marc:datafield[@tag=245]"> >-- >2.7.4
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 21130
:
77321
|
78566
|
79058
|
79110
|
86421
|
86886
|
86887