From 505855aeacdc1364425611e6ac2a28e74c96b122 Mon Sep 17 00:00:00 2001 From: Felix Kopp <felix-source@phorax.com> Date: Fri, 11 May 2012 15:31:48 +0200 Subject: [PATCH] [BUGFIX] Re-enable indexed_search $TCA for index_config EXT: indexed_search $TCA for table index_config is only loaded when EXT: crawler is installed but $TCA must always be included. Removes condition to limit $TCA inclusion. Change-Id: I9768ae18c40fa95084fbca54880ffc7b31e1f0a1 Fixes: #32815 Releases: 4.7, 6.0 Reviewed-on: http://review.typo3.org/11145 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter --- typo3/sysext/indexed_search/ext_tables.php | 40 ++++++++++------------ 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/typo3/sysext/indexed_search/ext_tables.php b/typo3/sysext/indexed_search/ext_tables.php index 4c448127a566..44ab7cc0db57 100755 --- a/typo3/sysext/indexed_search/ext_tables.php +++ b/typo3/sysext/indexed_search/ext_tables.php @@ -37,28 +37,26 @@ if (TYPO3_MODE=='BE') { t3lib_extMgm::allowTableOnStandardPages('index_config'); t3lib_extMgm::addLLrefForTCAdescr('index_config','EXT:indexed_search/locallang_csh_indexcfg.xml'); -if (t3lib_extMgm::isLoaded('crawler')) { - $TCA['index_config'] = Array ( - 'ctrl' => Array ( - 'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config', - 'label' => 'title', - 'tstamp' => 'tstamp', - 'crdate' => 'crdate', - 'cruser_id' => 'cruser_id', - 'type' => 'type', - 'default_sortby' => 'ORDER BY crdate', - 'enablecolumns' => Array ( - 'disabled' => 'hidden', - 'starttime' => 'starttime', - ), - 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php', - 'iconfile' => 'default.gif', +$TCA['index_config'] = array( + 'ctrl' => array( + 'title' => 'LLL:EXT:indexed_search/locallang_db.php:index_config', + 'label' => 'title', + 'tstamp' => 'tstamp', + 'crdate' => 'crdate', + 'cruser_id' => 'cruser_id', + 'type' => 'type', + 'default_sortby' => 'ORDER BY crdate', + 'enablecolumns' => array( + 'disabled' => 'hidden', + 'starttime' => 'starttime', ), - 'feInterface' => Array ( - 'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions', - ) - ); -} + 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'tca.php', + 'iconfile' => 'default.gif', + ), + 'feInterface' => array( + 'fe_admin_fieldList' => 'hidden, starttime, title, description, type, depth, table2index, alternative_source_pid, get_params, chashcalc, filepath, extensions', + ) +); // Example of crawlerhook (see also ext_localconf.php!) -- GitLab