Issue Bug Closed

#44947t3lib_extMgm::makeCategorizable get TCA with wrong foreign_table_where

Tobias Klepp 01/30/13, 08:44 updated 02/19/19, 10:11

Description

If I want to use the system categories for my extension records, I can use the function t3lib_extMgm::makeCategorizable. For my understanding, it makes no sense to show all default language categories AND all translated categories. ONLY the default language categories should be displayed for a selection.

The TCA configuration on line 2006 in the file typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php has the following code:

‘foreign_table_where’ => ‘ ORDER BY sys_category.title ASC’,

I think, better is the following code:

‘foreign_table_where’ => ‘ AND sys_category.sys_language_uid IN (-1,0) ORDER BY sys_category.title ASC’,

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.