Open fangeugene opened 6 years ago
I've been digging into this sporadically, and have discovered that SQLite FTS simply doesn't support searching for quotes.
Our best option might be to just strip quotes- I'm not sure that searching for them would be the most common way to find those teams.
We could also play with something other than FTS, but I'm not sure that's worth our effort.
FWIW, while web does show those teams in the search box's typeahead dropdown, actually executing that search will return no results.
From https://github.com/the-blue-alliance/the-blue-alliance/issues/2292
Expected Behavior
App should accept quotation marks (") in the search bar to allow searching for teams including such characters (i.e. 907, 1098, etc.)
Current Behavior
The app crashes and restarts when this occurs.
Possible Solution
Likely, the input needs to be escaped as it is entered.
Steps to Reproduce (for bugs)
Context
Your Environment