feat: add matched_path field to tree search results for consistency with advanced search response format
This commit is contained in:
parent
84d3ad0e90
commit
89c6889f42
@ -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}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user