Skip to content

Commit

Permalink
[FEATURE] Fix georgringer#4: automatically use submitted action for t…
Browse files Browse the repository at this point in the history
…he form
  • Loading branch information
dmitryd committed Jan 16, 2020
1 parent bc603ea commit 894b8c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -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['tx_news_pi1']['__referrer']['@action'] ?: 'list';
}

$GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['classes']['Domain/Repository/CategoryRepository'][] = $_EXTKEY;
Expand Down

0 comments on commit 894b8c9

Please sign in to comment.