$queryBuilder = $this->createQueryBuilderForTable($table);
// BUGFIX: Hidden child elements in grids are not copied with their parents
$queryBuilder->getRestrictions()->removeByType(HiddenRestriction::class);
if ($command === 'undelete') {
$queryBuilder->getRestrictions()->removeAll();
}
Hidden child elements in grids are not copied with their parents
When trying to copy a grid element, child elements that are hidden are not copied.
Our solution: In FluidTYPO3\Flux\Integration\HookSubscribers\DataHandlerSubscriber after line 615 :
$queryBuilder->getRestrictions()->removeByType(HiddenRestriction::class);
Like:
TYPO3 12.4.5 Flux: Latest from today (2023-08-11)