diff --git a/Classes/Domain/Repository/NewsRepository.php b/Classes/Domain/Repository/NewsRepository.php index 15e1bb72b7..48e7d87250 100644 --- a/Classes/Domain/Repository/NewsRepository.php +++ b/Classes/Domain/Repository/NewsRepository.php @@ -251,7 +251,11 @@ protected function createConstraintsFromDemand(QueryInterface $query, DemandInte // Id list $idList = $demand->getIdList(); if ($idList) { - $constraints['idList'] = $query->in('uid', GeneralUtility::intExplode(',', $idList, true)); + $commaSeparatedIdList = GeneralUtility::intExplode(',', $idList, true); + $constraints['idList'] = $query->logicalOr( + $query->in('uid', $commaSeparatedIdList), + $query->in('l10n_parent', $commaSeparatedIdList) + ); } // Clean not used constraints