queries con target periodo, in progress
This commit is contained in:
parent
5f09f56448
commit
6f8b35d1f1
|
@ -1913,9 +1913,14 @@ $(document).ready(function() {
|
||||||
if (binding.has('sentence'))
|
if (binding.has('sentence'))
|
||||||
sentenceid=binding.get('sentence').value.replace(hdnNamespace, '')
|
sentenceid=binding.get('sentence').value.replace(hdnNamespace, '')
|
||||||
|
|
||||||
if (pos > 0 && !result.has(pos)) {
|
if (pos && !result.has(pos)) {
|
||||||
|
if (pos.includes(';')){
|
||||||
result.add(pos)
|
var posses=pos.slice(0,-1).split(';')
|
||||||
|
for (po in posses)
|
||||||
|
result.add(posses[po])
|
||||||
|
}
|
||||||
|
else
|
||||||
|
result.add(pos)
|
||||||
resultsInCantica.push(cantica);
|
resultsInCantica.push(cantica);
|
||||||
resultsInCanto.push(cantica + canto)
|
resultsInCanto.push(cantica + canto)
|
||||||
}
|
}
|
||||||
|
|
|
@ -311,6 +311,7 @@ function buildSPQuery(guiquery) {
|
||||||
multipleCondSpQuery.where.push(occBindConcatStatement)
|
multipleCondSpQuery.where.push(occBindConcatStatement)
|
||||||
if (posBindConcatStatement['expression']['args'].length){
|
if (posBindConcatStatement['expression']['args'].length){
|
||||||
multipleCondSpQuery.where.push(posBindConcatStatement)
|
multipleCondSpQuery.where.push(posBindConcatStatement)
|
||||||
|
multipleCondSpQuery.variables.push(JSON.parse(sentencetarget_posVariable))
|
||||||
//multipleCondSpQuery.where.push(sentencetargetstatement_posCoalesce)
|
//multipleCondSpQuery.where.push(sentencetargetstatement_posCoalesce)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue