Try to fix queries
This commit is contained in:
parent
3b78730e5d
commit
f6c64476fe
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue