fix user filter not combining with other filters

This commit is contained in:
Julie Lenaerts 2023-09-12 15:55:03 +02:00
parent 6e2377b7ee
commit 57a1a49fac

View File

@ -78,8 +78,6 @@ final class SingleTaskAclAwareRepository implements SingleTaskAclAwareRepository
if ($orXUser->count() > 0) { if ($orXUser->count() > 0) {
$qb->andWhere($orXUser); $qb->andWhere($orXUser);
} }
return $qb;
} }
if (null !== $types && count($types) > 0) { if (null !== $types && count($types) > 0) {