TYPO3 backend: search for user entries

I developed an extension that allows you to create new records.

In the List in the list of entries there is a search form.

It works, for example, with users, but not with my user entries.

Is there any special configuration that I have to add to my tca for this form to work with my user records?

EDIT : It seems to happen after upgrading to TYPO3 4.6. In the previous version 4.3.3 it works.

Thanks.

+4
source share
1 answer

Change the ext_tables.php file in the typo3conf/ext/yourext , find your table and add the searchFields property to your ctrl section as a list of fields separated by commas to search in:

 $TCA['tx_yourext_table'] = array( 'ctrl' => array( 'title' => 'Title of your table', 'label' => 'title', 'tstamp' => 'tstamp', 'crdate' => 'crdate', // etc... 'searchFields' => 'title, other_field, yet_other_field', ), ); 

Remember to clear all caches after that, works in 4.6.3

There is official information when and why it was changed

+10
source

Source: https://habr.com/ru/post/1414322/


All Articles