fix search tests

This commit is contained in:
phernandez
2025-01-12 22:34:56 -06:00
parent e49f3ab3f4
commit e9e4975be2
2 changed files with 6 additions and 3 deletions
@@ -36,7 +36,7 @@ class SearchRepository:
if query.text:
search_text = query.text.lower().strip()
params["text"] = f"{search_text}*"
conditions.append("title MATCH :text OR content MATCH :text")
conditions.append("(title MATCH :text OR content MATCH :text)")
# Handle type filter
if query.types: