2021-04-17 00:26:33 +02:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
|
|
|
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
2021-04-17 21:20:54 +02:00
|
|
|
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
2021-04-17 00:26:33 +02:00
|
|
|
|
|
|
|
<f:section name="PerPage">
|
|
|
|
<div id="results-per-page">
|
|
|
|
<form method="post" action="{s:uri.search.currentSearch()}">
|
|
|
|
<s:translate key="results_per_page">Per page:</s:translate>
|
|
|
|
<select name="{resultSet.usedSearchRequest.argumentNameSpace}[resultsPerPage]" onchange="this.form.submit()">
|
|
|
|
<f:for each="{resultSet.usedSearchRequest.contextTypoScriptConfiguration.searchResultsPerPageSwitchOptionsAsArray}" as="availablePerPage">
|
|
|
|
<f:if condition="{availablePerPage}=={resultSet.usedResultsPerPage}">
|
|
|
|
<f:then><option selected="selected" value="{availablePerPage}">{availablePerPage}</option></f:then>
|
|
|
|
<f:else><option value="{availablePerPage}">{availablePerPage}</option></f:else>
|
|
|
|
</f:if>
|
|
|
|
</f:for>
|
|
|
|
</select>
|
|
|
|
</form>
|
|
|
|
</div>
|
2021-04-17 21:20:54 +02:00
|
|
|
</f:section>
|