How to restore filters set on one page when navigating back to that page

Thanks @ghiscoding for the quick response. I’m pretty new to Aurelia and extending an existing app. This is new functionality that has been added before :frowning:

There’s no problem getting the table to update with the filters, it’s just the UI filter toggles I haven’t worked out how to update. They get updated by the user when clicked, but not when changed through code (via the activate method when returning to the page).

I’ve read a number of articles on this site which get close to what I’m trying to achieve but haven’t yet managed to get it working :frowning:

Perhaps I need to pull out the filters into their own view and re-inject them into the list-view somehow? Or look into use App State? But then that looks pretty heavy-weight.

cheers,

1 Like