If a patron has quotes in the borrowernotes field, you will not be able to search for them with the guarantor search. The search just keeps searching and never ends. If there are going to be characters that break functions, there should be some validation in place to prevent these characters from being saved. Otherwise, we need to make it so the characters don't break the function.
I reproduce. Ajax call returns a JSON with an HTML href containing a JSON HTML-encoded. value=\"[% To.json(data) | html %]\" This double-quotes generates : \"test\" Maybe as a quick fix remove borrowernotes from those Ajax tables.
I feel like we have fixed this in other places and just removing borrowernotes will leave us with the same issue in other input fields like firstname that we cannot remove. This one might give a clue: Bug 22715 - Searching for patrons with "" in the circulation note hangs patron search And then there is also: Bug 26865 - Double quotes in patron's data breaks patron searches (no patch yet)
Will be fixed by bug 30055. *** This bug has been marked as a duplicate of bug 30055 ***