[TYPO3-core] RFC #16332: cObject CONTENT does not allow to fetch records that have no translation parent
François Suter
fsu-lists at cobweb.ch
Wed Nov 10 16:58:40 CET 2010
Hi,
> $query .= ' AND (' . $conf['languageField'] . ' IN (0,-1) OR (' . $TCA[$table]['ctrl']['transOrigPointerField'] . ' = "" AND ' . $conf['languageField'] . ' IN (' . $sys_language_content . '))';
$sys_language_content is a single value, isn't it? So it would seem more
efficient to use "=" instead of IN, wouldn't it?
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list