Bug 22715: Searching for patrons with "" in the circulation note hangs patron search
[koha-equinox.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / tables / members_results.tt
index 607146e..15b7c67 100644 (file)
@@ -31,7 +31,7 @@
                 "dt_fines":
                     "<span style='text-align: right; display: block;'>[% IF data.fines < 0 %]<span class='credit'>[% data.fines | $Price %]</span> [% ELSIF data.fines > 0 %] <span class='debit'><strong>[% data.fines | $Price %]</strong></span> [% ELSE %] [% data.fines | $Price %] [% END %]</span>",
                 "dt_borrowernotes":
-                    "[% data.borrowernotes.replace('\\\\' , '\\\\') |html_line_break |collapse %]",
+                    "[% data.borrowernotes | html_line_break | collapse | html | $To %]",
                 "dt_action":
                     "<a href='/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% data.borrowernumber | html %]' class='btn btn-default btn-xs'><i class='fa fa-pencil'></i> Edit</a>",
                 "borrowernumber":