Greetings,
after much tinkering and working through lots and lots of entries, I came up with the following to filter a dataset so that only certain items display:
wixData.query("DailyBetList")
.eq('finalResults', " ")
.find()
.then((results1) => {
let items1 = results1.items;
console.log(items1);
$w('#TodayRecommendations').rows = items1;
})
.catch((err) => {
let errorMsg = err;
});
It works fantastically great on the sandbox…but whenever I publish it live (either as part of the page load or as part of a button function), the results are blank…
any suggestions as to what the problem might be?