Skip to content

Instantly share code, notes, and snippets.

View jobee's full-sized avatar

Joachim Beck jobee

View GitHub Profile
@mficzel
mficzel / RemoveNodesWithHiddenParentsFromSearchResults.php
Last active April 4, 2023 10:27
Remove items from search result that are not connected to root because of hidden parents
<?php
namespace Vendor\Site\Aspects;
use Neos\ContentRepository\Domain\Model\NodeInterface;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Aop\JoinPointInterface;
/**
* @Flow\Aspect
*/