Hi, I’m trying to use the “hasSome” filter but it works only for arrays with up to 11 elements. Is this a bug or a knowen isue?
Here is my code:
programIdList = [13,11,19,18,17,15,14,7,6,0,5,4]
await $w('#dtPrograms').setFilter(wixData.filter()
.hasSome("id", programIdList)
)
let countPrograms = await $w('#dtPrograms').getTotalCount()
console.log("countPrograms", countPrograms, "programIdList", programIdList);
if the programIdList has 11 elemnts or less this works fine. (countPrograms returns a big number)
if it has 12 elements or more it allways retuns zero records. (countPrograms returns 0)
Is there a way I can have this work with more then 11 elemnts?
THANKS!