I tried to filter “men” from column “Title” (as I understood reference must be in lowercase)
Should I insert filter option to dynamicDataset (with “men” value)?
dropdown1 contain labal “Men’s” with related value of “men”
all my data was erased and It can’t shown again , only if I going to editor again.
and I synced Sandbox to live
I can’t find the issue that block me to see the filtered results on repeater
Please post the editor URL of your site. Only authorized Wix personnel can get access to your site in the editor.Please include the name of the page involved.
@sniroded05 I see all of your data in the Live database. You don’t have any code that could do anything. Code cannot remove a collection.
The two JeansX pages are not connected to a collection. When I run in Preview, I get the error message that the JeansX collection has been removed. To restore its data, you can create a new collection with the same name, and the previous collection of that name will be restored. Once your recreate your JeansX collection, the JeansX dynamic pages will once again be connected and should work.
I’m not quite sure what your problem is, but if you’re trying to do “All”, you need to clear the filter. If you’ve selected something other than “all”, then you apply the filter. You need something like this:
$w("#button6").onClick(() => {
let val = $w("#dropdown1").value;
if(val === "all") {
$w("#dynamicDataset").setFilter(wixData.filter());
}
else {
$w("#dynamicDataset").setFilter(wixData.filter()
.eq("title", val));
}
});