Bug 25379: Add raw filter to circulation note on checkin page
This is a consistency patch: we already allow adding HTML tags to the patron circulation note and the contents display correctly in the patron account and in the patron search results in the staff interface. But the HTML tags are printed on the checkins page. To test: * Add a circulation note including HTML tags to a patron Example: <h1>This patron is great!</h1> * Check an item out to this patron * Verify that the note displays formatted in patron search results * Verify that the note displays formatted in the patron record * Return the item * Verify the note shows the printed tags * Apply patch * Check item out again and check it in again * Verify the note now displays correctly in list of checkins Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
2873847246
commit
2608e405de
1 changed files with 1 additions and 1 deletions
|
@ -1284,7 +1284,7 @@
|
|||
</td>
|
||||
<td class="ci-note">
|
||||
[% IF ( riloo.patron.borrowernotes ) %]
|
||||
<p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes | html %]</span></p>
|
||||
<p><span class="circ-hlt patron-note">[% riloo.patron.borrowernotes | $raw %]</span></p>
|
||||
[% END %]
|
||||
[% IF ( riloo.itemnote ) %]
|
||||
<p><span class="circ-hlt item-note-public">[% riloo.itemnote | html %]</span></p>
|
||||
|
|
Loading…
Reference in a new issue