Actions
Bug #44947
closedt3lib_extMgm::makeCategorizable get TCA with wrong foreign_table_where
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Categorization API
Target version:
-
Start date:
2013-01-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
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',
Actions