Revert "Try to fix queries"

This reverts commit 6498d194cd78923ee5121679f5d25e5e0ce6c4d7.
This commit is contained in:
Georgy Litvinov 2020-12-03 12:01:17 +01:00
parent c7cddaa0cd
commit 6ad6fc8bd9

View file

@ -141,7 +141,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,'').replace(/#/g,'%23') ; string_query += json_query.field + ":\"" + json_query.value.toString().replace(/['"]+/g,'').replace(/#/g,'%23') + "\"";
} }
return string_query; return string_query;
} }