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

Adding search parameters to the search events page Feature #280 #329

Merged
merged 3 commits into from
Jan 3, 2022

Conversation

CenekSanzak
Copy link
Collaborator

I added react-router-dom search params to the project. Now page checks the search params and does the search using only the fields in the search params. When the search button is clicked it sets the search params again and refreshes the search. I also implemented the search by sports buttons to the homepage. Now they work and navigate to the search page.

Copy link
Collaborator

@berkaydoner berkaydoner left a comment

Choose a reason for hiding this comment

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

This should work as intended, search fields are used with useNavigate()

@CenekSanzak CenekSanzak merged commit ceba45f into development Jan 3, 2022
@CenekSanzak CenekSanzak linked an issue Jan 3, 2022 that may be closed by this pull request
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.

[Frontend] Adding search parameters to the search events page
2 participants