[Koha-bugs] [Bug 15722] Patron search cannot deal with hidden characters ( tabs ) in fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 07:55:48 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15722
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #48789|0 |1
is obsolete| |
Attachment #49517|0 |1
is obsolete| |
--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 49518
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49518&action=edit
[PASSED QA] 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 at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list