Bugzilla – Attachment 80431 Details for
Bug 20260
Use CodeMirror for the SQL reports editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21541: Use raw filter for report results
Bug-21541-Use-raw-filter-for-report-results.patch (text/plain), 1.62 KB, created by
Katrin Fischer
on 2018-10-11 21:36:57 UTC
(
hide
)
Description:
Bug 21541: Use raw filter for report results
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-10-11 21:36:57 UTC
Size:
1.62 KB
patch
obsolete
>From 7811195fcd613442e30d86749bbe5cd250eb9cfc Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 10 Oct 2018 16:30:15 +0000 >Subject: [PATCH] Bug 21541: Use raw filter for report results > >To test: > 1 - Create new report > SELECT CONCAT('<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=',borrowernumber,'">',"",firstname,"",surname,'</a>') > AS people > FROM borrowers > 2 - Run this report > 3 - Note the results contain raw text, they are not hyperlinks > 4 - Apply patch > 5 - Reload the results > 6 - They should now be links > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >https://bugs.koha-community.org/show_bug.cgi?id=20260 >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 62005e6..f432cf0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -747,7 +747,7 @@ canned reports and writing custom SQL reports.</p> > [% IF header_row.$place.cell == 'itemnumber' %] > <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" /> > [% END %] >- <td>[% cells.cell | html %]</td> >+ <td>[% cells.cell | $raw %]</td> > [% END %] > </tr> > [% END %] >-- >2.1.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 20260
:
75180
|
80367
|
80419
|
80431
|
80432