Bug 13133: Fix mangled titles on pay fines page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sun, 9 Nov 2014 22:58:03 +0000 (23:58 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 21 Nov 2014 23:40:31 +0000 (20:40 -0300)
Titles with diacritics don't show correctly
on the 'pay fines' page in the patron account
in staff.

To test:
- Catalog or find a record with non-latin script
  Something like a word in Hebrew would work.
- Create a fine entry for that record
  Something like a rental fee works.
- Verify that the title doesn't display correct
  on the pay fine page (other tabs are ok)
- Apply patch
- Check the pages again - display should be
  correct now.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt

index 7ba26d8..a2882ab 100644 (file)
@@ -136,7 +136,7 @@ function enableCheckboxActions(){
           [% CASE %][% line.accounttype %]
         [%- END -%]
         [%- IF line.description %], [% line.description %][% END %]
-        [% IF line.title %]([% line.title |html_entity %])[% END %]
+        [% IF line.title %]([% line.title |html %])[% END %]
     </td>
     <td><input type="text" name="payment_note_[% line.accountno %]" /></td>
     <td>[% line.accounttype %]</td>