Skip to content
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

Column action sort descending/ascending links should remove _next= pagination #989

Closed
simonw opened this issue Oct 2, 2020 · 0 comments
Closed
Labels

Comments

@simonw
Copy link
Owner

simonw commented Oct 2, 2020

On page https://latest.datasette.io/fixtures/sortable?_next=15%2Cg%2Cz&_sort=sortable clicking on sortable_with_nulls > sort_ascending links to https://latest.datasette.io/fixtures/sortable?_next=15%2Cg%2Cz&_sort_desc=sortable_with_nulls - which doesn't make sense.

Changing the sort order needs to reset to the first page.

@simonw simonw added the bug label Oct 2, 2020
@simonw simonw closed this as completed in e807c4e Oct 4, 2020
simonw added a commit that referenced this issue Oct 6, 2020
@simonw simonw added this to the Datasette 0.50 milestone Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant