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): Replaces smart quotes with double quotes in text queries #4855

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

ERosendo
Copy link
Contributor

This PR addresses issue #2790 by improving the handling of quotes in text queries.

Key changes:

  • Replaces smart quotes ( and ) with standard double quotes (") in text queries

  • Updates the check_unbalanced_quotes method to consider smart quotes when checking for unbalanced quotes in queries.

This commit improves the search functionality by replacing smart quotes ("“" and "”") with standard double quotes ("") in text queries. This ensures consistent handling of quotes
@ERosendo ERosendo force-pushed the 2790-fix-cleans-smart-quotes-from-text-query branch from 9925603 to b3b13db Compare December 24, 2024 08:01
@ERosendo ERosendo requested a review from mlissner December 24, 2024 08:27
Copy link
Member

@mlissner mlissner left a comment

Choose a reason for hiding this comment

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

Easy-peasy, thanks!

@mlissner mlissner merged commit cb012e8 into main Dec 24, 2024
15 checks passed
@mlissner mlissner deleted the 2790-fix-cleans-smart-quotes-from-text-query branch December 24, 2024 17:54
@mlissner
Copy link
Member

Guess we should have done this awhile ago...ah well.

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

Successfully merging this pull request may close these issues.

2 participants