A possible work around would be to add more or() functions to the query.
export function searchButton_onClick(event) {
wixData.query(‘allcoinmastercardslist’)
.eq(‘villageLevel’, $w(’ #iTitle ‘).value)
.or(wixData.query(‘allcoinmastercardslist’).contains(‘title’, $w(’ #iTitle ‘).value))
.or(wixData.query(‘allcoinmastercardslist’).eq(‘villageLevel’, “,” + $w(’ #iTitle ‘).value))
.or(wixData.query(‘allcoinmastercardslist’).eq(‘villageLevel’, $w(’ #iTitle ‘).value + “,” ))
.find()
.then (res=> {
$w(’ #table1 ').rows = res.items;
}); }
Im not sure if wix will allow multiple uses of the or() function though. If it doesn’t, let me know and I’ll try something else.