going back to a page with a filter

Hello,

I have a page where users can filter a collection
Afterwards, they can enter a dynamic page by pressing on one of the items
I need an option to go back to the previous page and keep the original filter entered
Is there any way to do this efficiently?

Hello

You can use session to store the filter value and on page load you get the session value and set the filter to it.

Best
Massa

Thank you! But i believe that it will require a new database call… for performance issues, i’d like to go back to a specific page without reloading it! is this possible?

@anatarad yeah true it’ll require a new database call there’s no other way to achieve that.

Thank you very much for you help.
I’ve implemented it by opening the details in a new page, this way my filter is not affected.