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 bugs #108

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Fix search bugs #108

merged 2 commits into from
Aug 2, 2024

Conversation

friedelwolff
Copy link
Contributor

No description provided.

This was never going to work this way on projects, but filtering on
projects is broken, which hid this. (Fix to follow.)
Two intertwined issues are fixed:
 - An empty search query would cause no projects to be returned. Now
   we only search if a query is given.
 - We weren't filtering projects at all. We're really going against
   the intention of django_filters with this one, but let's see...

The test was simply wrong (and duplicated).
@friedelwolff friedelwolff merged commit 0d52ebd into develop Aug 2, 2024
2 checks passed
@friedelwolff friedelwolff deleted the bug/search-bugs branch August 2, 2024 20:15
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.

1 participant