Skip to content

Commit

Permalink
[BUGFIX] Fix record overlay for 'List of selected items' (2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Idleworks authored Mar 15, 2024
1 parent 80ced4c commit c81f3e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Classes/Domain/Repository/NewsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c81f3e5

Please sign in to comment.