Hi all,

when using the list modules search function, translated records are not found. The 
field the search is done against ist defined as 'l10n_mode' => 'exclude', as 
the tranlated records always has the same value as in default language.

The TCA is as follows:

'formcode' => array(
        'exclude' => 1,
        'l10n_mode' => 'exclude',
        'label' => 
'LLL:EXT:documents/Resources/Private/Language/locallang_db.xml:tx_documents_domain_model_document.formcode',
        'config' => array(
                'type' => 'select',
                'foreign_table' => 'tx_documents_domain_model_formcode',
                'foreign_table_where' => 'AND 
tx_documents_domain_model_formcode.pid=###CURRENT_PID### AND 
tx_documents_domain_model_formcode.sys_language_uid IN (-1,0) ORDER BY 
tx_documents_domain_model_formcode.formcode',
                'minitems' => 0,
                'maxitems' => 1,
        ),
),

What can be done get the translations included in search results?

Kind regards, Jan



_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to