diff --git a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl index 61cbd800..38862004 100644 --- a/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/queryBuilder.ftl @@ -85,7 +85,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, '') + "\""; + string_query += json_query.field + ":\'" + json_query.value.toString().replace(/['"]+/g, '') + "\'"; } return string_query; }