diff --git a/packages/ep_products/Classes/Service/SearchResultService.php b/packages/ep_products/Classes/Service/SearchResultService.php index cd64d73..0143cd5 100644 --- a/packages/ep_products/Classes/Service/SearchResultService.php +++ b/packages/ep_products/Classes/Service/SearchResultService.php @@ -128,7 +128,6 @@ class SearchResultService implements SingletonInterface 'boardUid' => ($row['boardUid'] ?? null), 'dates' => [], 'nights' => [], - 'teaserNights' => [], 'rooms' => [], 'new' => ($row['new'] ?? null), 'skiPassIncluded' => ($row['skiPassIncluded'] ?? null), @@ -199,7 +198,6 @@ class SearchResultService implements SingletonInterface || $item['minPrice'] > ($row['minPrice'] ?? null)) { $item['minPrice'] = ($row['minPrice'] ?? null); // Teaser-specific offer data must describe the cheapest row. - $item['teaserNights'] = [($row['nights'] ?? null)]; $item['board'] = ($row['board'] ?? null); $item['boardUid'] = ($row['boardUid'] ?? null); $item['daytrip'] = ($row['daytrip'] ?? null); diff --git a/packages/ep_theme/Resources/Private/Partials/Search/Result.html b/packages/ep_theme/Resources/Private/Partials/Search/Result.html index 348b16a..f72fb55 100644 --- a/packages/ep_theme/Resources/Private/Partials/Search/Result.html +++ b/packages/ep_theme/Resources/Private/Partials/Search/Result.html @@ -91,7 +91,7 @@ country: item.country, region: item.region, productImage: searchProductImage, - nights: item.teaserNights, + nights: item.nights, board: item.board, minPrice: item.minPrice, daytrip: item.daytrip,