diff --git a/ext_localconf.php b/ext_localconf.php index 13a07c7..2a44aab 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -8,7 +8,8 @@ $vars = \TYPO3\CMS\Core\Utility\GeneralUtility::_POST('tx_news_pi1'); if (isset($vars['search']) && is_array($vars['search'])) { - $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['News']['plugins']['Pi1']['controllers']['News']['nonCacheableActions'][] = 'list'; + $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['News']['plugins']['Pi1']['controllers']['News']['nonCacheableActions'][] = + $vars['__referrer']['@action'] ?: 'list'; } $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['classes']['Domain/Repository/CategoryRepository'][] = $_EXTKEY;