Fix backlink in searchresult

This commit is contained in:
Björn Fromme
2021-09-27 14:57:35 +02:00
parent ded38fa17f
commit beb9fbae04
3 changed files with 4 additions and 13 deletions
@@ -43,7 +43,6 @@ export default class extends Controller {
}) })
.finally(() => { .finally(() => {
this.loadingValue = false this.loadingValue = false
this.element.scrollIntoView({ behavior: 'smooth' })
}) })
} }
@@ -11,7 +11,7 @@
<f:section name="TeaserImage"> <f:section name="TeaserImage">
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}"> <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)}" <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()}')}"
title="{region.name} {product.name} Details und Buchen"> title="{region.name} {product.name} Details und Buchen">
<img class="block w-full h-full object-cover lazyload" <img class="block w-full h-full object-cover lazyload"
src="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/lazy.png')}" src="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/lazy.png')}"
@@ -26,15 +26,6 @@
<use href="#icon-flag-{country.code -> f:format.case(mode: 'lower')}"/> <use href="#icon-flag-{country.code -> f:format.case(mode: 'lower')}"/>
</svg> </svg>
</f:if> </f:if>
<f:comment><!--
<div class="p-2 text-white {f:if(condition: concept, else: 'bg-ep-primary-80')}">
<f:alias map="{ icons: { bik: 'Mountainbike', akt: 'Walking', prg: 'Sportclub' } }">
<svg class="product-teaser__icon text-white">
<use href="#icon-{icons.{concept.code} -> f:format.case(mode: 'lower')}"></use>
</svg>
</f:alias>
</div>
--></f:comment>
<span class="product-teaser__label-concept"> <span class="product-teaser__label-concept">
{concept.name} {concept.name}
</span> </span>
@@ -54,7 +45,7 @@
</f:section> </f:section>
<f:section name="TeaserContent"> <f:section name="TeaserContent">
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo)}" <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()}')}"
title="{region.name} {product.name} Details und Buchen" title="{region.name} {product.name} Details und Buchen"
class="flex-1 flex flex-col space-y-1 px-2 py-4 md:p-4"> class="flex-1 flex flex-col space-y-1 px-2 py-4 md:p-4">
<div class="product-teaser__label-name"> <div class="product-teaser__label-name">
@@ -45,7 +45,8 @@
dateFrom: item.minDateStart, dateFrom: item.minDateStart,
dateTo: item.maxDateEnd, dateTo: item.maxDateEnd,
forceHotelUid: 1, forceHotelUid: 1,
landscape: 1 landscape: 1,
referringPageUri: referringPageUri
}"/> }"/>
</f:for> </f:for>