mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
fix search tests
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user