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

Add quotes around title in search query #141

Merged
merged 9 commits into from
Dec 13, 2022

Conversation

parkerbxyz
Copy link
Contributor

@parkerbxyz parkerbxyz commented Dec 8, 2022

Without quotes, some queries find more than 100 results, but only the first 100 are returned. This can lead to matching issues titles not being found even when they exist.

Any quotes present in the issue title included in the query will be escaped to avoid conflicting quotes.

parkerbxyz and others added 9 commits December 8, 2022 13:08
Without quotes, some queries find more than 100 results, but only the first 100 are returned. This can lead to matching issues titles not being found even when they exist.
This will prevent quotes from conflicting if they are present in the issue title being used in the query.
Copy link
Owner

@JasonEtco JasonEtco left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @parkerbxyz 🙇 I added a test and snuck in a CI version upgrade.

@JasonEtco JasonEtco merged commit d78f56c into JasonEtco:main Dec 13, 2022
@parkerbxyz parkerbxyz deleted the fix-title-matching branch December 14, 2022 05:40
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.

2 participants