-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
offset
param not cleared when different sort field is selected
#185
Labels
Comments
Sorting (heading) field is implemented by
The following code does NOT work:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to #180 but slightly different. When the user clicks on a column heading to change the sort field, the results should be from page 1 (again). Currently the
offset
value is persisted between requests when sort field is changed.E.g. view https://lists.ala.org.au/public/speciesLists, then click through to page 2 or 3. Now click a column heading to change the sort order to be for
Date submitted
. Resting page shows page 3 of the results for that sort field, which is inconsistent with most pagination implementations (both in the ALA and the web in general). It should always revert to the first page of results when the sort field or order is changed.The text was updated successfully, but these errors were encountered: