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