Fix current page uid not being promoted to detail page

This commit is contained in:
Björn Fromme
2019-08-15 14:34:52 +02:00
parent 5bf9cabf2f
commit e86ed95a61
2 changed files with 4 additions and 1 deletions
@@ -144,6 +144,7 @@ class ProductController extends ActionController
'product' => $product, 'product' => $product,
'isProductWithExcludedConcept' => $isProductWithExcludedConcept, 'isProductWithExcludedConcept' => $isProductWithExcludedConcept,
'isProductWithNoInfoConcept' => $isProductWithNoInfoConcept, 'isProductWithNoInfoConcept' => $isProductWithNoInfoConcept,
'currentPageUid' => $GLOBALS['TSFE']->id,
]); ]);
} }
@@ -175,7 +175,9 @@
<div v-cloak v-show="!loading && priceTableShow"> <div v-cloak v-show="!loading && priceTableShow">
<price-table :price-table-rows="priceTableRows" :services-included="servicesIncluded" <price-table :price-table-rows="priceTableRows" :services-included="servicesIncluded"
:date-label="dateLabel" :single-date="singleDate"></price-table> :date-label="dateLabel" :single-date="singleDate"></price-table>
<f:render partial="Product/Details" arguments="{_all}"/> <f:alias map="{currentPageUid: 1}">
<f:render partial="Product/Details" arguments="{_all}"/>
</f:alias>
</div> </div>
<!-- /Prices --> <!-- /Prices -->
<!-- Hotel --> <!-- Hotel -->