How to persist filtering across pages?

So I have a list that I’m filtering based on some values. Those values are coming from a modal, which I have a link to from the current page.
I apply the filters onto the list but when I navigate elsewhere and return to the screen the filters are removed and the list refreshes to the unfiltered list.

I tried to solve this by updating a collection with the filters I’m adding to the list, but even if the value in the dropdown is persisting, the list is still not being filtered when I come back to the page.

Hoping someone could help me :slight_smile:

Hi @allenSaju,

One of the ways is to store filters’ settings somewhere, e.g. Users collection, in a designated properties. When you set the filters, you also update Logged-In User’s properties for them.
And later on you get the default values for filters from these properties.

Best,
Victor.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.