mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(app): transform search term to lowercase
This commit is contained in:
parent
20d5c3a8bf
commit
390dc47db5
@ -217,7 +217,7 @@ class SqliteImageRecordStorage(ImageRecordStorageBase):
|
|||||||
query_conditions += """--sql
|
query_conditions += """--sql
|
||||||
AND images.metadata LIKE ?
|
AND images.metadata LIKE ?
|
||||||
"""
|
"""
|
||||||
query_params.append(f"%{search_term}%")
|
query_params.append(f"%{search_term.lower()}%")
|
||||||
|
|
||||||
if starred_first:
|
if starred_first:
|
||||||
query_pagination = f"""--sql
|
query_pagination = f"""--sql
|
||||||
|
Loading…
Reference in New Issue
Block a user