From 50b9cd541e2dc312c77aa883554b32465ea46efe Mon Sep 17 00:00:00 2001 From: cesare Date: Fri, 7 Oct 2022 18:07:12 +0200 Subject: [PATCH] implementazione OR --- js/utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/utils.js b/js/utils.js index afda403..d7ac128 100644 --- a/js/utils.js +++ b/js/utils.js @@ -302,7 +302,8 @@ function buildClause(clause, parsedquery, whereind){ parsedquery.where[1].expression.args[0].value = "lm"; } else{ - parsedquery.where.splice(1, 1) + if (parsedquery.where[1].type=='filter') + parsedquery.where.splice(1, 1) } if (clause['typeGramm0'] !=null && clause['typeGramm0'] != "all") if(whereind> -1)