Fix current page uid not being promoted to detail page
This commit is contained in:
@@ -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 -->
|
||||||
|
|||||||
Reference in New Issue
Block a user