[TASK] Replace Typeahead with jquery autocomplete plugin
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Search / LiveSearch / LiveSearch.php
index 9bdb3d9..3acd3be 100644 (file)
@@ -216,10 +216,7 @@ class LiveSearch {
                        $collect[] = array(
                                'id' => $tableName . ':' . $row['uid'],
                                'pageId' => $tableName === 'pages' ? $row['uid'] : $row['pid'],
-                               'table' => array(
-                                       'title' => $this->getTitleOfCurrentRecordType($tableName),
-                                       'name' => $tableName,
-                               ),
+                               'typeLabel' =>  $this->getTitleOfCurrentRecordType($tableName),
                                'iconHTML' => IconUtility::getSpriteIconForRecord($tableName, $row, array('title' => 'id=' . $row['uid'] . ', pid=' . $row['pid'])),
                                'title' => BackendUtility::getRecordTitle($tableName, $row),
                                'editLink' => $this->getEditLink($tableName, $row)