implementazione OR

This commit is contained in:
cesare 2022-10-07 18:07:12 +02:00
parent 4f90e77d75
commit 50b9cd541e
1 changed files with 2 additions and 1 deletions

View File

@ -302,6 +302,7 @@ function buildClause(clause, parsedquery, whereind){
parsedquery.where[1].expression.args[0].value = "lm"; parsedquery.where[1].expression.args[0].value = "lm";
} }
else{ else{
if (parsedquery.where[1].type=='filter')
parsedquery.where.splice(1, 1) parsedquery.where.splice(1, 1)
} }
if (clause['typeGramm0'] !=null && clause['typeGramm0'] != "all") if (clause['typeGramm0'] !=null && clause['typeGramm0'] != "all")