diff --git a/typo3/sysext/indexed_search/Resources/Private/Templates/Search/Search.html b/typo3/sysext/indexed_search/Resources/Private/Templates/Search/Search.html index 1d413b26edbec324e6c52195a2dff8b1bb873731..198d09b0bdef362d16bea305f0f87b6de2697f3a 100644 --- a/typo3/sysext/indexed_search/Resources/Private/Templates/Search/Search.html +++ b/typo3/sysext/indexed_search/Resources/Private/Templates/Search/Search.html @@ -33,13 +33,14 @@ <f:for each="{result.affectedSections}" as="sectionData" key="sectionId"> <tr> <td width="100%">--> - <a href="#anchor_{sectionId}"> + <f:link.page section="anchor_{sectionId}" addQueryString="1" noCacheHash="1" + argumentsToBeExcludedFromQueryString="{0: 'id'}"> <f:if condition="{sectionData.0}"> <f:then>{sectionData.0}</f:then> <f:else><f:translate key="unnamedSection" /></f:else> </f:if> ({sectionData.1} <f:translate key="{f:if(condition: '{sectionData.1} > 1', then: 'result.pages', else: 'result.page')}" />) - </a> + </f:link.page> </td> </tr> </f:for>