Function filtering DB doesn't work!

@searchbjd I think that you need to create a new Filter each time. Something like this (not tested):

let imgfilter = wixData.filter().hasSome('pdNum', PdNumber);
$w('#imgtest').setFilter(imgfilter);