Koha/koha-tmpl/intranet-tmpl
Jonathan Druart cd20b61a7c Bug 15722: Escape patron infos for JSON in patron searches
If patron infos contain invalid JSON chars (\t for instance), the
results won't appear.
The solution is to escape these info.

Test plan:
Edit patron infos in DB (update borrowers set surname="foobar\t" where
borrowernumber=42)
Search for foobar (you should have more than 1 result)
Without this patch, DT retrieves a bad formatted JSON and the results
won't appear.
With this patch, the table result appears

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-24 16:14:31 +00:00
..
js Bug 11937 - opac link doesn't open in new window 2016-02-24 02:49:36 +00:00
lib Bug 16040: Update fnReloadAjax DT plugin to fix quotes deletion 2016-03-24 15:31:22 +00:00
prog Bug 15722: Escape patron infos for JSON in patron searches 2016-03-24 16:14:31 +00:00