Our site contains info from a database. We present specific fields from the database in a table connected to that specific database. Today we use 2 filtering options with drop-down and a free text search field. We have created dynamic pages for the database that contains extended info about the specific “items”. The problem we have is that when we click one of the rows and are redirected to the dynamic page and then want to return to previous page, the filtering made in either in the drop downs or in the free text field is reset and we have to filter the same options again. Is there a way to fix this, so that the filter is kept (so that the filter still shows our made choices from before)?
Hi!
You can save the value of the filters in the local storage and retrieve it when the page with the filters is loaded.
My suggestion is to trigger the insert to the local storage in the event of item selection.
You can read about Wix-Storage API here .
Doron.