Flowpack.SimpleSearch.ContentRepositoryAdaptor icon indicating copy to clipboard operation
Flowpack.SimpleSearch.ContentRepositoryAdaptor copied to clipboard

fix: search within context node paths

Open haase-fabian opened this issue 6 months ago • 0 comments

I noticed that the search does not do a query inside the given context node. But rather within all Siblings of that Node.

$subgraph->findAncestorNodes does not include the $contextNode itself.

nodes = ${Search.query(site).nodeType('Neos.Neos:Document').execute()}

Therefore, this gives me all documents inside the Neos Installation, including other sites.

haase-fabian avatar Jun 16 '25 10:06 haase-fabian