mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-12-04 19:16:13 +01:00
Fix none working Extbase queries
The queries missed an call to matching() to actually apply the constraint.
This commit is contained in:
parent
2932a620e4
commit
dd0f08e157
2 changed files with 2 additions and 3 deletions
|
@ -58,8 +58,7 @@ class ParkingFacilityRepository extends Repository
|
|||
|
||||
$query = $this->createQuery();
|
||||
|
||||
$query->in('remoteId', $remoteIds);
|
||||
|
||||
$query->matching($query->in('remoteId', $remoteIds));
|
||||
return $query->execute();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue