bug in simple query corretto

This commit is contained in:
cesare 2024-04-08 18:30:49 +02:00
parent 3287e81514
commit c22e5ab33a
2 changed files with 5 additions and 1 deletions

View File

@ -480,8 +480,12 @@ function buildSQ(stquery) {
parsedquery.where[0].expression.args[1].value = strval;
if (stquery['Clausola0']['lemma_forma'] == 'lemma')
if (stquery['Clausola0']['lemma_forma'] == 'lemma'){
parsedquery.where[0].expression.args[0].value = "lm";
parsedquery.where.splice(1, 1)
parsedquery.where[1].patterns[0].triples.splice(0,1)
}
}
else {
console.log('Simple query, no param')