feat: add matched_path field to tree search results for consistency with advanced search response format

This commit is contained in:
Bruno Charest 2026-03-31 14:35:16 -04:00
parent 84d3ad0e90
commit 89c6889f42

View File

@ -1636,6 +1636,7 @@ async def api_tree_search(
"path": entry["path"], "path": entry["path"],
"name": entry["name"], "name": entry["name"],
"type": entry["type"], "type": entry["type"],
"matched_path": entry["path"],
}) })
return {"query": q, "vault_filter": vault, "results": results} return {"query": q, "vault_filter": vault, "results": results}