[BUU] 'Back to products list' Button on Edit Product removed filters on Products page #12698
Labels
bug-s3
The bug is stopping a critical or non-critical feature but there is a usable workaround.
Milestone
Description
Ref: https://openfoodnetwork.slack.com/archives/CG7NJ966B/p1720708764308569
After successfully editing the product, the user clicks on the 'Back to products list' button, then the previously selected filters are removed and all the products are displayed.
This is a regression of feature added in #4206
Expected Behavior
Previously selected filters should persist.
Actual Behaviour
Previously selected filters are removed.
Steps to Reproduce
Workaround
User can reselect all the filters which was selected before navigation back from the product edit page.
Severity
bug-s3: a feature is broken but there is a workaround
Your Environment
Depends On
Possible Fix
We can use server session storage to store the URL with the applied filters and upon navigation back, we use that stored URL.
The text was updated successfully, but these errors were encountered: