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

Reset pagination when any other parameter changes #1067

Merged
merged 2 commits into from
Sep 5, 2015
Merged

Conversation

shawnbot
Copy link
Contributor

@shawnbot shawnbot commented Sep 4, 2015

This addresses #471 and #913 by introducing a check for whenever any of the search parameters change except page, and unsets the page parameter if so. I ran through the script in #913 and have confirmed that it removes the &page=4 parameter from that URL that was causing the API to scroll past the first page of results.

This change introduces a check for whenever any of the search parameters
change *except* `page`, and unsets the `page` parameter if so. This will
address #471 and #913.
shawnbot added a commit that referenced this pull request Sep 5, 2015
Reset pagination when any other parameter changes
@shawnbot shawnbot merged commit 5789b71 into dev Sep 5, 2015
@shawnbot shawnbot deleted the pagination-fixes branch September 5, 2015 01:10
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

Successfully merging this pull request may close these issues.

None yet

1 participant