From 9183f18eebe448c6042bd9e00f88636cbe797c99 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 2 Dec 2020 21:32:53 +0100 Subject: [PATCH] Try to fix queries --- webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl index 2313233e..21ac3c30 100644 --- a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl @@ -140,7 +140,7 @@ if ('operator' in json_query && json_query.operator.startsWith("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; }