From: Kyle M Hall Date: Tue, 16 Apr 2019 14:34:56 +0000 (-0400) Subject: Bug 22715: Searching for patrons with "" in the circulation note hangs patron search X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=6e641c5bcb7370556326fb64838fce1eefbc2c18 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 --- 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 607146e..15b7c67 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 @@ -31,7 +31,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_line_break |collapse %]", + "[% data.borrowernotes | html_line_break | collapse | html | $To %]", "dt_action": " Edit", "borrowernumber":