[TYPO3-dev] selectbox in BE is displaying localized records together with default ones

Franz Koch typo3.RemoveForMessage at elements-net.de
Sun Sep 5 17:19:41 CEST 2010


Hey Andreas,

>>> My TCA looks like this:
>>> 'type' => 'select',
>>> 'foreign_table' => 'tx_elementsstaff_domain_model_person',
>>> 'MM' => 'tx_elementsstaff_person_mm',
>>
>
> AFAIK, that's just how it should work with this TCA. I usually add
> something like this to limit the selectable records to those with
> language all (-1) or default (0)
>
> 'foreign_table_where' => 'AND
> tx_elementsstaff_domain_model_person.sys_language_uid IN (-1,0)',

I also thought about adding a foreign_table_where clause for that, but I 
never stumbled accross this issue before, so I thought the the core 
would take care of this and I might have some other issue.

I'll add a custom where statement now - thanks.

-- 
kind regards,
Franz Koch




More information about the TYPO3-dev mailing list