Bug 22715: Searching for patrons with "" in the circulation note hangs patron search
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 16 Apr 2019 14:34:56 +0000 (10:34 -0400)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 23 May 2019 21:55:35 +0000 (21:55 +0000)
commit011d467bb20929bb117c1c70af606ec0a19c5077
tree851e69a2c430c89d97df6e6428c3fbaae7d10f11
parent7258095decfd92f9a76850137d5915794d92fb05
Bug 22715: Searching for patrons with "" in the circulation note hangs patron search

To replicate:
Edit a patron to have a circ note, include quoted text in it, such as "this is quoted string"
Go to the patron search, search for a set of results that would include the patron with the quotes in the note
Enjoy looking at "Processing" for forever.

Test Plan:
1) Apply this patch
2) Attempt to replicate using the steps above

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
I took this a step further and used <script>"something in
quotes"</script> for my test note and this worked just fine. YAY.

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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 6e641c5bcb7370556326fb64838fce1eefbc2c18)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 57a7cea7200f69966089b06c54e1482d4daae5ef)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt