Wrong pagination link for facet page on world in another language #9311
Labels
brokenlinks
Those are 404 errors spotted in production.
🐛 bug
This is a bug, not a feature request.
facets
facets allow you to explore products according to various criterion. Based on MongoDB
What
Pagination link is broken for non-default language.
Steps to reproduce the behavior
1.Open a list of brands on OFF in non-default language, ie. World in German, ie. https://world-de.openfoodfacts.org/brands
2. Click on the page number 2
4. See error, because https://world-de.openfoodfacts.org/marken/brands/2 was opened
Expected behavior
The href should have pointed to https://world-de.openfoodfacts.org/brands/2 or https://world-de.openfoodfacts.org/marken/2
Why
It's currently not possible to browse a country's facets in another language, which could hinder some contributors.
The text was updated successfully, but these errors were encountered: