Changing the pagination size can cause 404 errors
- Open a project
- Set the pagination size to 20
- Adjust the filters to get at least two pages of elements
- Go to the last page
- Change the pagination size to 500
- Admire the 404 error
- Press the Back button of your browser
- Still admire the 404 error! (#740 (closed))
Changing the pagination size could cause the frontend to recompute the page number so that it stays as close as possible to where we used to be at. For example, switching from 100 to 20 could multiply the page number by 5, and switching from 20 to 500 when on page 5 would reset to page 1.