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

Search should reset pagination #551

Open
The-Compiler opened this issue Mar 18, 2021 · 0 comments
Open

Search should reset pagination #551

The-Compiler opened this issue Mar 18, 2021 · 0 comments

Comments

@The-Compiler
Copy link
Collaborator

The-Compiler commented Mar 18, 2021

Let's say I'm on https://paste.the-compiler.org/lists/135 - i.e. on page 10 of my recent pastes.

If I now use the search form to search for "locale", I land on https://paste.the-compiler.org/lists/135?search=locale which tells me "There have been no Pastes :(" - but https://paste.the-compiler.org/lists/0?search=locale actually has matches! In other words, searching should always result in a /lists/0?search=... page, rather than reusing the page number from the previous page.

krayon added a commit to krayon/stiqued that referenced this issue Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant