From cb79cc1f696277fdc064417ee4d5a8ffd979b7ac Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Fri, 21 Aug 2020 09:28:50 +0200 Subject: [PATCH] Changed quotes in search form --- 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 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; }