This PR adds a function called query_string_escape to utils. This new function replaces calisphere.facet_filter_type.solr_escape and calisphere.search_form.solr_escape, which were identical.
Note that it does not escape double quotes (") or asterisks (*), since we do allow users to make use of these reserved characters: https://calisphere.org/help/#2
This PR adds a function called
query_string_escape
toutils
. This new function replacescalisphere.facet_filter_type.solr_escape
andcalisphere.search_form.solr_escape
, which were identical.Note that it does not escape double quotes (") or asterisks (*), since we do allow users to make use of these reserved characters: https://calisphere.org/help/#2