Issue with Filtering Dataset Collection in Separate Sections

Hello!

I’m trying to display “current” events in one repeater and “past” events in another, each in separate sections of my page in Wix Studio. Both should pull from the same CMS collection (Events + Webinars CMS), with events categorized as either “current” or “past” based on a text field. This way, I only have to type in the event once instead of two different CMS collections.

To achieve this, I set up two different datasets, both connected to the same CMS but with different filters:

  • One dataset filters for “current” events.
  • The other filters for “past” events.

However, even though each dataset has a unique dataset ID, they seem to interfere with each other. When I apply the filter to show “current” events, both repeaters display only current events, and when I switch to “past,” both show only past events.

How can I ensure that each dataset independently filters the correct events without affecting the other?


Sounds like you’re using some code in there, can you post it please?

Hello, I’m not using any code. I’m actually terrible at coding. I’m just using the side menus and prefixes that Wix Studio provides.

Here’s some clarification: Notice how the “Events + webinar dataset” has a filter status “is current” for the first repeater screenshot and in the second repeater says “Events + webinars dates… (which is Events + webinars dataset)” and has a filter status “is past”? Even though there are two different filters, they show the same things (the current item) even though I correctly labeled one item as past and one as current.


I’m confused as to why the filter isn’t working because I have two different datasets with different dataset IDs. Hopefully this adds more clarity to the problem.

Okay I found a solution. Apparently you have to click on each individual element again and manually link each one. Changing the dataset once for the repeater doesn’t relink all the items within that repeater. Wasn’t very intuitive, but I hope this discovery helps others who have this issue.

Ah, I see what happened there, good to hear you got it