I have a repeater with the date. First, it takes too long to get the date attribute in all repeaters then once all the repeaters have loaded then it filters out the dataset using corvid. I want all of this to happen simultaneously.
It would help if you add your used code and screenshots and possibly sa link to the page where this is happening so that we can see what the issue, like are you filtering your datasets for your repeaters when the page and datasets load or are there user inputs to adjust the date etc.
https://www.torontofoodsafetytraining.ca/purchase-new Page link. and the code is.
let localDate = new Date();
$w('#dataset1').setFilter(wixData.filter()
.ge("eventDate",localDate)
)
.then(() => {
console.log("Filter is set.");
})
.catch((err) => {
console.log(err);
});
Loading your site and the content took just over 2 seconds. Perhaps it’s okay now?
If you query your collection directly instead of using a dataset, it may be faster.