Fix none working Extbase queries

The queries missed an call to matching() to actually apply the
constraint.
This commit is contained in:
Daniel Siepmann 2021-09-08 10:59:44 +02:00
parent 2932a620e4
commit dd0f08e157
2 changed files with 2 additions and 3 deletions

View file

@ -58,8 +58,7 @@ class ParkingFacilityRepository extends Repository
$query = $this->createQuery();
$query->in('remoteId', $remoteIds);
$query->matching($query->in('remoteId', $remoteIds));
return $query->execute();
}
}

View file

@ -56,7 +56,7 @@ class TownRepository extends Repository
$query = $this->createQuery();
$query->in('remoteId', $remoteIds);
$query->matching($query->in('remoteId', $remoteIds));
$query->setLimit(1);
return $query->execute()->getFirst();