Skip to content

Commit 79131cd

Browse files
committed
BUGFIX: neos_parent_path now includes the given context node
1 parent 6a7b3eb commit 79131cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Classes/Eel/ElasticSearchQueryBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,8 @@ public function query(Node $contextNode): QueryBuilderInterface
848848
FindAncestorNodesFilter::create()
849849
)->reverse();
850850

851+
$ancestors = $ancestors->append($contextNode);
852+
851853
$nodeAggregateIdPath = NodeAggregateIdPath::fromNodes($ancestors);
852854

853855
// on indexing, the neos_parent_path is tokenized to contain ALL parent path parts,

0 commit comments

Comments
 (0)