Bugzilla – Attachment 86887 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.40 KB, created by
Marcel de Rooy
on 2019-03-22 11:15:57 UTC
(
hide
)
Description:
Bug 21130: (Follow up OPAC Results) Prevent HTML class from being translated
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-03-22 11:15:57 UTC
Size:
1.40 KB
patch
obsolete
>From 8b6a9c72a720732a1bbad6d7b036ce5aa16056ee 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 >Content-Type: text/plain; charset=utf-8 > >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> >--- > 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