fix(mcp): FTS colonnes non qualifiées + test positif search_notes
This commit is contained in:
@@ -207,7 +207,7 @@ async def search_notes(
|
||||
if query:
|
||||
conditions.append(
|
||||
text(
|
||||
"to_tsvector('french', coalesce(notes.items.title,'') || ' ' || notes.items.content)"
|
||||
"to_tsvector('french', coalesce(title,'') || ' ' || content)"
|
||||
" @@ plainto_tsquery('french', :q)"
|
||||
).bindparams(q=query)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user