From 011d467bb20929bb117c1c70af606ec0a19c5077 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 16 Apr 2019 10:34:56 -0400 Subject: [PATCH] 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 I took this a step further and used for my test note and this worked just fine. YAY. Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit 6e641c5bcb7370556326fb64838fce1eefbc2c18) Signed-off-by: Martin Renvoize (cherry picked from commit 57a7cea7200f69966089b06c54e1482d4daae5ef) Signed-off-by: Lucas Gass --- .../prog/en/modules/members/tables/members_results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt index ad391d631c..fa1d2294a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt @@ -30,7 +30,7 @@ "dt_fines": "[% IF data.fines < 0 %][% data.fines | $Price %] [% ELSIF data.fines > 0 %] [% data.fines | $Price %] [% ELSE %] [% data.fines | $Price %] [% END %]", "dt_borrowernotes": - "[% data.borrowernotes.replace('\\\\' , '\\\\') |html |html_line_break |collapse %]", + "[% data.borrowernotes | html_line_break | collapse | html | $To %]", "dt_action": " Edit", "borrowernumber": -- 2.39.5