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 filtering #602

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Fix search filtering #602

merged 1 commit into from
Feb 20, 2024

Conversation

jeffdaley
Copy link
Contributor

Fixes a regression causing filters to not appear on the /results route. Plus a little cleanup.

@@ -1,5 +1,5 @@
{{page-title "Search Results"}}

<Header::Toolbar @facets={{@facets}} />
<Header::Toolbar @facets={{this.model.facets}} />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the primary change

@jeffdaley jeffdaley marked this pull request as ready for review February 20, 2024 17:43
@jeffdaley jeffdaley requested a review from a team as a code owner February 20, 2024 17:43
Copy link
Collaborator

@jfreda jfreda left a comment

Choose a reason for hiding this comment

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

Can we add any tests so this regression doesn't pop up again?

@jeffdaley jeffdaley merged commit b800a7e into main Feb 20, 2024
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/results-filtering branch February 20, 2024 18:19
@jeffdaley
Copy link
Contributor Author

Can we add any tests so this regression doesn't pop up again?

For sure, I just need to do some cleanup first. Unfortunately we don't have any filter-based tests, so there isn't anything for me to work from. I have a PR coming soon that'll get us closer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants