Fix hotel name and category not rendered in teaser
This commit is contained in:
@@ -140,7 +140,7 @@ class ProductService implements SingletonInterface
|
|||||||
$teaser['minPrice'] = $row['minPrice'];
|
$teaser['minPrice'] = $row['minPrice'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($teaser['hotelUid'] !== $row['hotelUid']) {
|
if ($teaser['hotel']['uid'] !== $row['hotelUid']) {
|
||||||
$teaser['hotelCount']++;
|
$teaser['hotelCount']++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -166,7 +166,7 @@ class ProductService implements SingletonInterface
|
|||||||
'minDateStart' => null,
|
'minDateStart' => null,
|
||||||
'maxDateEnd' => null,
|
'maxDateEnd' => null,
|
||||||
'minPrice' => null,
|
'minPrice' => null,
|
||||||
'hotelCount' => 0,
|
'hotelCount' => 1,
|
||||||
'pseudoPrice' => $teaserData['pseudoPrice'],
|
'pseudoPrice' => $teaserData['pseudoPrice'],
|
||||||
'board' => $teaserData['board'],
|
'board' => $teaserData['board'],
|
||||||
'earlybird' => $teaserData['earlybird'],
|
'earlybird' => $teaserData['earlybird'],
|
||||||
|
|||||||
Reference in New Issue
Block a user