Closed cldellow closed 1 year ago
SQLite's squishy typing kinda bites us here.
https://github.com/cldellow/datasette-ui-extras/blob/57a044840e8f0250fa8f5fc330d49ab9cf135c88/datasette_ui_extras/omnisearch.py#L85 tries to only do autosuggest for things containing string values
In practical use, this seems a bit strict. Let's be willing to do autosgugest in omnisearch as long as 90% of the contents are strings.
SQLite's squishy typing kinda bites us here.
https://github.com/cldellow/datasette-ui-extras/blob/57a044840e8f0250fa8f5fc330d49ab9cf135c88/datasette_ui_extras/omnisearch.py#L85 tries to only do autosuggest for things containing string values
In practical use, this seems a bit strict. Let's be willing to do autosgugest in omnisearch as long as 90% of the contents are strings.