Bug 11290: fix display of patron home page for certain translations
authorChris Cormack <chris@bigballofwax.co.nz>
Fri, 22 Nov 2013 22:04:00 +0000 (11:04 +1300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 7 May 2014 16:29:20 +0000 (18:29 +0200)
commit923657526c2d7ac6d39ce5fd998c8249f43e3f51
tree76722242ebda5dad995fbbcb370265cca0870d7c
parent926a87444319da127435ad0f6641b0dd3a6fda3d
Bug 11290: fix display of patron home page for certain translations

To test
1) In a fresh Koha, generate translation into XX
2) Select XX for the staff interface (i.e. enable it, and choose it)
3) Go to the Patrons page
4) Everything looks fine
5) In the admin page, create a patron category with any non-ASCII
   character.
6) Go back to the Patrons page, everything is broken
7) Apply patch
8) regenerate translation
9) Go back to the Patrons page, everything looks fine
10) Switch to english it still looks fine

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Tried with ru-RU and fixes the problem.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Problem is also visible on untranslated templates changing
one of the sample category descriptions to include diacritics.

[RM note: I wasn't able to reproduce this on an unstranslated
 template -- I tried using Arabic, Cyrllic, and Spanish characters]

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 3e1b781adc253722209e46385fb3248ae8d668f9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc