Changed quotes in search form

This commit is contained in:
Georgy Litvinov 2020-08-21 09:28:50 +02:00
parent 61333eccaf
commit cb79cc1f69

View file

@ -85,7 +85,7 @@
if ('operator' in json_query && json_query.operator.startsWith("not_")){ if ('operator' in json_query && json_query.operator.startsWith("not_")){
string_query += "NOT "; string_query += "NOT ";
} }
string_query += json_query.field + ":\"" + json_query.value.toString().replace(/['"]+/g, '') + "\""; string_query += json_query.field + ":\'" + json_query.value.toString().replace(/['"]+/g, '') + "\'";
} }
return string_query; return string_query;
} }