fix: generate correct referring urls

This commit is contained in:
Björn Fromme
2024-10-24 10:39:55 +02:00
parent 11018fd804
commit a70110df45
3 changed files with 12 additions and 2 deletions
@@ -13,7 +13,7 @@
<f:section name="TeaserImage">
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}">
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo)}{f:if(condition: referringPageUri, then: '?ref={referringPageUri -> f:format.urlencode()}')}"
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
title="{region.name} {product.name} Details und Buchen">
<f:if condition="{productImage}">
<f:then>