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

fix(search): reset page num on query change #403

Merged
merged 2 commits into from
Aug 13, 2020

Conversation

LoneRifle
Copy link
Contributor

Problem

Closes #366

Solution

On change event in query or relevancy, check for changes from
original params, and if so, reset the page number to 0

Take the trouble to also fill in the missing REDIS_SAFE_BROWSING_URI in gitpod's Dockerfile

On change event in query or relevancy, check for changes from
original params, and if so, reset the page number to 0
@LoneRifle LoneRifle requested a review from yong-jie August 13, 2020 01:56
Copy link
Member

@yong-jie yong-jie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgm!

@yong-jie yong-jie merged commit 5638da1 into develop Aug 13, 2020
@yong-jie yong-jie deleted the fix/search/reset-page-num branch August 13, 2020 04:41
xming13 pushed a commit to xming13/GoGovSG that referenced this pull request Aug 21, 2020
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.

Search page does not reset to page 1 after new results are fetched
2 participants