diff --git a/Classes/Controller/JoblistController.php b/Classes/Controller/JoblistController.php index 483c525bd5129a8147d4470c0ee00737fcd8279f..a0066ae81ec449d2d7ce0e37b373c9784c816dea 100644 --- a/Classes/Controller/JoblistController.php +++ b/Classes/Controller/JoblistController.php @@ -71,8 +71,6 @@ use TYPO3\CMS\Extbase\Mvc\Exception\NoSuchArgumentException; use TYPO3\CMS\Extbase\Persistence\Exception\IllegalObjectTypeException; use TYPO3\CMS\Extbase\Property\Exception\TypeConverterException; use TYPO3\CMS\Extbase\Utility\LocalizationUtility; -use TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator; -use TYPO3\CMS\Extbase\Validation\Validator\GenericObjectValidator; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\Controller\ErrorController; use TYPO3\CMS\Frontend\Page\PageAccessFailureReasons; @@ -260,6 +258,17 @@ class JoblistController extends ActionController { )['persistence']['storagePid'] ); + if ($currentPageBrowserPage > 0 && ExtensionManagementUtility::isLoaded('sg_seo')) { + $headTagService = GeneralUtility::makeInstance( + HeadTagService::class, + FALSE, + '', + '', + '&tx_sgjobs_pagebrowser[currentPage]=' . $currentPageBrowserPage + ); + $headTagService->execute(); + } + $this->assignFilterValues($storagePids, $filters); $this->view->assign('recordPageIds', $storagePids); $jobLimit = (int) $this->settings['jobLimit'];