You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIX] website_sale: ensure applied filters are preserved when sorting
Problem:
When generating sorting URLs, the `post` dictionary only contains
a single selected attribute. This is due to `request.params` only
passing the first `attrib` parameter during dispatch, even though
there can be multiple.
Solution:
Modify the `post` dictionary to store attributes as a list before
passing it to the `_shop_get_query_url_kwargs` method. This ensures
that all selected attributes are preserved and properly passed to the
`keep` query parameters.
Steps to reproduce:
- Go to `/shop`.
- Apply multiple attribute filters.
- Change the sorting option.
- Only the first selected attribute is applied in the filter.
opw-4244895
closesodoo#187890
X-original-commit: 99c7bdd
Signed-off-by: Valentin Chevalier <[email protected]>
Signed-off-by: Walid Sahli (wasa) <[email protected]>
0 commit comments