Revert "[TASK] Remove loadTCA calls"
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Feb 2013 16:03:18 +0000 (17:03 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Feb 2013 16:04:18 +0000 (17:04 +0100)
This reverts commit 3d6f142cb959569c1d07837e93facac0a3a4f1c4

Change-Id: I0b2318a0579b54743a9f5a397d3d41c582068337
Related: #45107
Reviewed-on: https://review.typo3.org/18244
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/dbal/Classes/RecordList/DatabaseRecordList.php

index 7d2594d..ebe8037 100644 (file)
@@ -54,6 +54,8 @@ class DatabaseRecordList extends \TYPO3\CMS\Recordlist\RecordList\DatabaseRecord
        public function makeSearchString($table) {
                // Make query, only if table is valid and a search string is actually defined:
                if ($GLOBALS['TCA'][$table] && $this->searchString) {
+                       // Loading full table description - we need to traverse fields:
+                       \TYPO3\CMS\Core\Utility\GeneralUtility::loadTCA($table);
                        // Initialize field array:
                        $sfields = array();
                        $or = '';