[TASK] Add searchFields in TCA for sys_news, sys_action and sys_note 12/58912/2
authorWolfgang Klinger <wolfgang@wazum.com>
Fri, 16 Nov 2018 17:06:02 +0000 (18:06 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 19 Nov 2018 08:51:47 +0000 (09:51 +0100)
Resolves: #86932
Releases: master, 8.7
Change-Id: Ic699b0af99fb73bfdb91e3dbbb3e6f3e41335b5b
Reviewed-on: https://review.typo3.org/58912
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Configuration/TCA/sys_news.php
typo3/sysext/sys_action/Configuration/TCA/sys_action.php
typo3/sysext/sys_note/Configuration/TCA/sys_note.php

index 2c190b8..812a95d 100644 (file)
@@ -17,7 +17,8 @@ return [
         'default_sortby' => 'crdate DESC',
         'typeicon_classes' => [
             'default' => 'mimetypes-x-sys_news'
-        ]
+        ],
+        'searchFields' => 'title,content'
     ],
     'interface' => [
         'showRecordFieldList' => 'hidden,title,content,starttime,endtime'
index b3f0a2a..870e246 100644 (file)
@@ -18,7 +18,8 @@ return [
         'typeicon_classes' => [
             'default' => 'mimetypes-x-sys_action'
         ],
-        'type' => 'type'
+        'type' => 'type',
+        'searchFields' => 'title,description'
     ],
     'interface' => [
         'showRecordFieldList' => 'hidden,title,type,description,assign_to_groups'
index 31e39ca..db9b326 100644 (file)
@@ -11,7 +11,8 @@ return [
         'typeicon_classes' => [
             'default' => 'mimetypes-x-sys_note'
         ],
-        'sortby' => 'sorting'
+        'sortby' => 'sorting',
+        'searchFields' => 'subject,message'
     ],
     'interface' => [
         'showRecordFieldList' => 'category,subject,message,personal'