Reinit filter product type with the latest value #5639
Labels
good first issue
Good for newcomers
🧴 Open Beauty Facts
Please see this proposal: https://github.com/openfoodfacts/smooth-app/discussions/1378
🐾 Open Pet Food Facts
📸 Open Products Facts
OxF
personal search
🔎 Search
Problem
The new product type filter has 4 options (OxF).
It's displayed in the search page.
We don't store the latest selected option of this filter.
Next time we go to the search page, the selected option is always "food", though we can expect the value to be the latest.
Proposed solution
Store the latest selected option in the preferences, and reuse it next time we land on the search page.
Part of
The text was updated successfully, but these errors were encountered: