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)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 10 Dec 2013 01:23:25 +0000 (01:23 +0000)
commit3e1b781adc253722209e46385fb3248ae8d668f9
tree2dddaa918349511a0c237955acae0f92731778e0
parent142acaf8df1bce808487051d2bf404fedb7c6caa
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>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc