diff --git a/Resources/Private/Partials/Bootstrap5/Job.html b/Resources/Private/Partials/Bootstrap5/Job.html
index 02dc7cbf7f82de1ae019b5aadc3b0c38e3bd4f7b..1a42309fba33512566c96332f6680156403eb908 100644
--- a/Resources/Private/Partials/Bootstrap5/Job.html
+++ b/Resources/Private/Partials/Bootstrap5/Job.html
@@ -21,7 +21,7 @@
                         </f:if>
                     </li>
                     <li>
-                        <f:for each="{job.companies}" as="company" iteration="iterator">
+                        <f:for each="{job.company}" as="company" iteration="iterator">
                             {company.city}{f:if(condition: '!{iterator.isLast} || {iterator.isLast} && {job.telecommutePossible} ', then: ', ')}
                         </f:for>
                         <f:if condition="{job.telecommutePossible}">
diff --git a/Resources/Private/Templates/Bootstrap5/PageBrowser/Index.html b/Resources/Private/Templates/Bootstrap5/PageBrowser/Index.html
index becf1986b57957184afbc9bf7e72450831f98dc7..cd90f4fdb85f0116b002e13765aebf4d8d709caf 100644
--- a/Resources/Private/Templates/Bootstrap5/PageBrowser/Index.html
+++ b/Resources/Private/Templates/Bootstrap5/PageBrowser/Index.html
@@ -8,45 +8,92 @@
             <ul class="pagination">
                 <li class="page-item {f:if(condition: '!{prevPageExist}', then: 'disabled')}">
                     <f:variable name="prevPage" value="{currentPage - 1}" />
-                    <f:link.action addQueryString="1" class="page-link"
-                        additionalParams="{tx_sgjobs_pagebrowser: {currentPage: prevPage}}"
-                        additionalAttributes="{aria-label: 'Previous'}">
-                        &laquo;
-                    </f:link.action>
+                    <f:if condition="{prevPage} == 0">
+                        <f:then>
+                            <f:link.action addQueryString="untrusted" class="page-link"
+                                argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
+                                additionalAttributes="{aria-label: 'Previous'}">
+                                &laquo;
+                            </f:link.action>
+                        </f:then>
+                        <f:else>
+                            <f:link.action addQueryString="untrusted" class="page-link"
+                                argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
+                                additionalParams="{tx_sgjobs_pagebrowser: {currentPage: prevPage}}"
+                                additionalAttributes="{aria-label: 'Previous'}">
+                                &laquo;
+                            </f:link.action>
+                        </f:else>
+                    </f:if>
                 </li>
 
                 <f:if condition="{enableLessPages} && {showLessPages}">
                     <li class="page-item">
-                        <f:variable name="lessPage" value="{currentPage - 2}" />
-                        <f:link.action addQueryString="1" class="page-link"
-                            additionalParams="{tx_sgjobs_pagebrowser: {currentPage: lessPage}}">
-                            ...
-                        </f:link.action>
+                        <f:variable name="lessPage" value="{currentPage - 2}"/>
+						<f:if condition="{lessPage} == 0">
+							<f:then>
+								<f:link.action addQueryString="untrusted" class="page-link"
+                                    argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
+									...
+								</f:link.action>
+							</f:then>
+							<f:else>
+								<f:link.action addQueryString="untrusted" class="page-link"
+                                    argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
+                                    additionalParams="{tx_sgjobs_pagebrowser: {currentPage: lessPage}}">
+									...
+								</f:link.action>
+							</f:else>
+						</f:if>
                     </li>
                 </f:if>
 
                 <f:for each="{pageLinks}" as="pageLink">
-                    <li class="page-item {f:if(condition: '{pageLink.isCurrentPage}', then: 'active')}">
-                        <f:link.action addQueryString="1" class="page-link"
-                            additionalParams="{tx_sgjobs_pagebrowser: {currentPage: pageLink.page}}">
-                            {pageLink.number}
-                        </f:link.action>
-                    </li>
+                    <f:if condition="{pageLink.isCurrentPage}">
+						<f:then>
+							<li class="page-item active">
+								<a href="#" class="page-link">
+									{pageLink.number}
+								</a>
+							</li>
+						</f:then>
+						<f:else>
+							<li class="tx-pagebrowse-page">
+								<f:if condition="{pageLink.page} == 0">
+									<f:then>
+										<f:link.action addQueryString="untrusted" class="page-link"
+                                            argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}">
+											{pageLink.number}
+										</f:link.action>
+									</f:then>
+									<f:else>
+										<f:link.action addQueryString="untrusted" class="page-link"
+                                            argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
+                                            additionalParams="{tx_sgjobs_pagebrowser: {currentPage: pageLink.page}}">
+											{pageLink.number}
+										</f:link.action>
+									</f:else>
+								</f:if>
+							</li>
+						</f:else>
+					</f:if>
                 </f:for>
 
                 <f:if condition="{enableMorePages} && {showNextPages}">
                     <li class="page-item">
                         <f:variable name="morePage" value="{currentPage + 2}" />
-                        <f:link.action addQueryString="1" class="page"
+                        <f:link.action addQueryString="untrusted" class="page-link"
+                            argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
                             additionalParams="{tx_sgjobs_pagebrowser: {currentPage: morePage}}">
-                            ...
-                        </f:link.action>
+							...
+						</f:link.action>
                     </li>
                 </f:if>
 
                 <li class="page-item {f:if(condition: '!{nextPageExist}', then: 'disabled')}">
-                    <f:variable name="nextPage" value="{currentPage + 1}" />
-                    <f:link.action addQueryString="1" class="page-link"
+                    <f:variable name="nextPage" value="{currentPage + 1}"/>
+                    <f:link.action addQueryString="untrusted" class="page-link"
+                        argumentsToBeExcludedFromQueryString="{0: 'tx_sgjobs_pagebrowser'}"
                         additionalParams="{tx_sgjobs_pagebrowser: {currentPage: nextPage}}"
                         additionalAttributes="{aria-label: 'Next'}">
                         &raquo;