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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 6 Jun 2014 11:13:41 +0000 (07:13 -0400)
commitb33256e090247b65da68435c151de33b77d44e32
treed604f1e61390a808b25b86e04c149901c3823123
parentab4687aa3d349a07d56815984303205f718c1ca6
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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 923657526c2d7ac6d39ce5fd998c8249f43e3f51)
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc