mirror of
https://github.com/werkraum-media/thuecat.git
synced 2024-07-01 07:48:53 +02: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
|
@ -58,8 +58,7 @@ class ParkingFacilityRepository extends Repository
|
||||||
|
|
||||||
$query = $this->createQuery();
|
$query = $this->createQuery();
|
||||||
|
|
||||||
$query->in('remoteId', $remoteIds);
|
$query->matching($query->in('remoteId', $remoteIds));
|
||||||
|
|
||||||
return $query->execute();
|
return $query->execute();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ class TownRepository extends Repository
|
||||||
|
|
||||||
$query = $this->createQuery();
|
$query = $this->createQuery();
|
||||||
|
|
||||||
$query->in('remoteId', $remoteIds);
|
$query->matching($query->in('remoteId', $remoteIds));
|
||||||
$query->setLimit(1);
|
$query->setLimit(1);
|
||||||
|
|
||||||
return $query->execute()->getFirst();
|
return $query->execute()->getFirst();
|
||||||
|
|
Loading…
Reference in a new issue