Fix prices of non bookable hotels being shown in teasers
This commit is contained in:
1 parent
6d5c502436
commit
31b7b6b305
1 file changed
+1
-1
@@ -42,7 +42,7 @@ class HotelRepository extends AbstractRepository
|
||||
{
|
||||
$qb = $this->getQueryBuilder();
|
||||
$qb
|
||||
->where('date.hotel = :hotelUid')
|
||||
->andWhere('date.hotel = :hotelUid')
|
||||
->orderBy('date.min_price')
|
||||
->setParameter('hotelUid', $hotelUid)
|
||||
->setMaxResults(1)
|
||||
|
||||
Reference in new issue
Block a user