Skip to content
Snippets Groups Projects
Verified Commit 770d3a62 authored by Kevin Ditscheid's avatar Kevin Ditscheid
Browse files

[BUGFIX] Reset ts_sgjobs_pagebrowser parameter for page = 1, because simply...

[BUGFIX] Reset ts_sgjobs_pagebrowser parameter for page = 1, because simply leaving out additionalParams doesn't work because of addQueryString
parent 4aef0ac9
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
<f:if condition="{prevPage} == 0">
<f:then>
<f:link.action addQueryString="1"
additionalParams="{tx_sgjobs_pagebrowser: ''}"
additionalAttributes="{aria-label: 'Previous'}">
&laquo;
</f:link.action>
......@@ -43,7 +44,8 @@
<f:variable name="lessPage" value="{currentPage - 2}"/>
<f:if condition="{lessPage} == 0">
<f:then>
<f:link.action addQueryString="1">
<f:link.action addQueryString="1"
additionalParams="{tx_sgjobs_pagebrowser: ''}">
...
</f:link.action>
</f:then>
......@@ -73,7 +75,8 @@
<li class="tx-pagebrowse-page">
<f:if condition="{pageLink.page} == 0">
<f:then>
<f:link.action addQueryString="1">
<f:link.action addQueryString="1"
additionalParams="{tx_sgjobs_pagebrowser: ''}">
{pageLink.number}
</f:link.action>
</f:then>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment