Bugzilla – Attachment 87116 Details for
Bug 22586
IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22586: IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl
Bug-22586-IntranetReportsHomeHTML-no-longer-render.patch (text/plain), 1.52 KB, created by
ByWater Sandboxes
on 2019-03-27 19:24:50 UTC
(
hide
)
Description:
Bug 22586: IntranetReportsHomeHTML no longer renders as HTML on reports-home.pl
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2019-03-27 19:24:50 UTC
Size:
1.52 KB
patch
obsolete
>From adaf3785d1e1d229171b62c663b6541de5080dc0 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 26 Mar 2019 11:17:31 +0000 >Subject: [PATCH] Bug 22586: IntranetReportsHomeHTML no longer renders as HTML > on reports-home.pl > >As of 18.11 the IntranetReportsHomeHTML syspref no longer renders HTML >on report-home.pl. I think this is being filtered wrong in the template. > >Test Plan: > >1) Edit IntranetReportsHomeHTML, set to "<p>Test</p>" >2) View a report, note that you see the html p tags are displayed >litterly >3) Apply this patch >4) Reload the page >5) Note the p tags are rendered as html > >Signed-off-by: George Williams <george@nekls.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >index 20be414b9a..e4901bbd62 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt >@@ -1,4 +1,5 @@ > [% USE Koha %] >+[% USE raw %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Reports</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -89,7 +90,7 @@ > > </div> > <div class="col-md-12" id="intranet-reports-home-html"> >- [% Koha.Preference('IntranetReportsHomeHTML') | html %] >+ [% Koha.Preference('IntranetReportsHomeHTML') | $raw %] > </div> > </div> > [% INCLUDE 'intranet-bottom.inc' %] >-- >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 22586
:
87095
|
87096
|
87116
|
87169