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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2018-10-10 16:30:15 +00:00 committed by Tomas Cohen Arazi
parent 07fa37abbe
commit 0e81b387ca
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]