-
Notifications
You must be signed in to change notification settings - Fork 5
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
v1 quicksearch string matching bug #346
v1 quicksearch string matching bug #346
Comments
Can confirm this bug is still present in |
It seems the issue was with the cursor.execute(QUICK_SEARCH_SQL.format(search.title(), location.title())) The function capitalizes the start of every word, causing some searches to slip through the cracks since they are case sensitive. Removing them fixed the outlined searches. I'm going to make it so that the search terms and the database terms are lowercased to solve any case-sensitivity issues in searches. That is assuming there was no foreseeable reason for it to have been set up this way in the first place |
case sensitivity should never be a thing for these searches. thank you! |
Context
flagging this partly because it went unnoticed for so long—we should make sure we are not replicating things like this with new search: #249
Description
This is related to unexpected/missing search results in ways I don't quite understand.
Search 1:
dashboard
inallegheny county
Allegheny County Bail Dashboard
Search 2:
all
inallegheny county jail
Allegheny County Jail interactive population dashboard
, which should have shown up in search 1Search 3:
dashboard
inallegheny county jail
Requirements
The text was updated successfully, but these errors were encountered: