Open anuveyatsu opened 4 years ago
Every usage of pagination removes &sort=... part of a query, so datasets are sorted in default order.
pagination
&sort=...
E.g., visit https://www.opendata.dk/search and select sort option other than default one:
https://www.opendata.dk/search?q=&sort=views_recent%3Adesc
Next, try to go to page 2 and see that queries are lost.
This affects all projects which use frontend-v2. A simple solution is implemented in:
frontend-v2
Every usage of
pagination
removes&sort=...
part of a query, so datasets are sorted in default order.E.g., visit https://www.opendata.dk/search and select sort option other than default one:
https://www.opendata.dk/search?q=&sort=views_recent%3Adesc
Next, try to go to page 2 and see that queries are lost.