Tuesday, June 25, 2024
1 change · saas-17.2
Resolved issues and error corrections
Search filters in list and kanban views now remain in place when users open a record and return using the browser back button. This prevents users from losing their current view context and having to reapply filters.
Original PR description
[FIX] web: use back button don't break filters in search view Open a kanban view or a list view; Enter a filter in the search view; Open a record; Go back to the multi-record view using the browser (back button). Before this commit, the previously entered filter is not there anymore. Now, the filter stays. To achieve this, before leaving the multi-record view, the global state is saved on the history state. To be able to push a key (the global state) on the state to be saved on the history and not shown in the browser, a new way to add a key/value to the state, but omit it on the URL was developed. Also, a way to push the state synchronous was added.