Bugzilla – Attachment 86421 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.30 KB, created by
Hayley Pelham
on 2019-03-11 03:33:54 UTC
(
hide
)
Description:
Bug 21130: (Follow up OPAC Results) Prevent HTML class from being translated
Filename:
MIME Type:
Creator:
Hayley Pelham
Created:
2019-03-11 03:33:54 UTC
Size:
1.30 KB
patch
obsolete
>From 8286519c55cf4ef2e956aa591ee08458b4e17150 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 > >Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz> >--- > 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 abaf7dd5f9..7b858e12c3 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="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]"> >-- >2.11.0
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