I have a page with repeating group that uses three filters, Verb, Context and Project. User selects filter values from dropdowns for each filter. From the RG, user can click on an item and be taken to a detail page to view/update details of the item. Upon completing the updates or exiting without changes, user is returned to the list page with the RG.
I want user to be returned to the list using the same filter values (and, ideally, the same page in the RG, although I haven’t even tried that trick yet.)
In order to ensure that user is working from the same filtered list, I am storing user’s selected filter values in their User record.
On the detail page, the workflow for saving updates or abandoning updates ends with Go to previous page.
What happens is that the filter values the list page saved to the User record are not restored. It’s whatever values were in effect when user originally opened the list page (or most recently did a browser page refresh.)
As an example, after opening the page, change whatever filters happened to be in effect, in this case Verb = Create.
Make another change to filters, in this case Context = out.
Click on an item in the list, view or make changes in the detail page and return to the list page. The filters revert to the values that were in effect when user first opened the list page, in this case Verb = Call.
If user clicks the browser reset button, filters are updated to the values most recently saved to the User record, in this case Context = out. This is the condition the app should have returned to without user having to do a refresh.
What should I do to ensure that the page is properly refreshed with the current User record filters upon returning to the page?
Bonus question: how can I save the position in the list (RG) and restore to that position upon returning to the list page?