diff --git a/Classes/Service/NodeTypeFinderService.php b/Classes/Service/NodeTypeFinderService.php index 69f8815..fdf2da8 100644 --- a/Classes/Service/NodeTypeFinderService.php +++ b/Classes/Service/NodeTypeFinderService.php @@ -113,8 +113,7 @@ private function findNodeTypeOccurrencesInDimensions(string $nodeTypeName, array 'invisibleContentShown' => true, ]); - yield from (new FlowQuery([$context->getCurrentSiteNode()])) - ->find('/') + yield from (new FlowQuery([$context->getRootNode()])) ->find('[instanceof '.$nodeTypeName.']') ->get(); }