[TYPO3-english] List modules search-function doesn't respect translated records

Jan Kornblum jan.kornblum at gmx.de
Mon Feb 6 18:32:59 CET 2017


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





More information about the TYPO3-english mailing list