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

WPC-1419: Fix search for multiple search terms #7

Merged
merged 1 commit into from
May 22, 2024

Conversation

LukasSkywalker
Copy link
Contributor

When searching for multiple terms, the search should only match articles where all of the terms are present. This was changed in the frontend in https://hauptstadt.atlassian.net/browse/HA-176 and then later in the backend in https://wepublish.atlassian.net/browse/WPC-1419 by adding an ampersand. When both fixes are run, the search terms are broken and the search produces invalid SQL. This change removes the ampersand injection in the frontend.

When searching for multiple terms, the search should only match articles where
all of the terms are present. This was changed in the frontend in
https://hauptstadt.atlassian.net/browse/HA-176 and then later in the backend in
https://wepublish.atlassian.net/browse/WPC-1419 by adding an ampersand. When
both fixes are run, the search terms are broken and the search produces invalid
SQL. This change removes the ampersand injection in the frontend.
@LukasSkywalker LukasSkywalker merged commit 791be12 into main May 22, 2024
2 checks passed
@LukasSkywalker LukasSkywalker deleted the WPC-1419-fix-multi-word-search branch May 22, 2024 08:05
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