mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
When products are sorted by name and two products have the same name, their order is undefined. With pagination, two pages can have a different order of products with the same name which then means that two pages can return the same product. Sorting by product id makes sure that the result is always in the same order, for every page.