queries con target periodo, in progress

This commit is contained in:
cesare 2024-05-20 18:12:58 +02:00
parent 5f09f56448
commit 6f8b35d1f1
2 changed files with 9 additions and 3 deletions

View File

@ -1913,9 +1913,14 @@ $(document).ready(function() {
if (binding.has('sentence'))
sentenceid=binding.get('sentence').value.replace(hdnNamespace, '')
if (pos > 0 && !result.has(pos)) {
result.add(pos)
if (pos && !result.has(pos)) {
if (pos.includes(';')){
var posses=pos.slice(0,-1).split(';')
for (po in posses)
result.add(posses[po])
}
else
result.add(pos)
resultsInCantica.push(cantica);
resultsInCanto.push(cantica + canto)
}

View File

@ -311,6 +311,7 @@ function buildSPQuery(guiquery) {
multipleCondSpQuery.where.push(occBindConcatStatement)
if (posBindConcatStatement['expression']['args'].length){
multipleCondSpQuery.where.push(posBindConcatStatement)
multipleCondSpQuery.variables.push(JSON.parse(sentencetarget_posVariable))
//multipleCondSpQuery.where.push(sentencetargetstatement_posCoalesce)
}