Project

General

Profile

Actions

Bug #44947

closed

t3lib_extMgm::makeCategorizable get TCA with wrong foreign_table_where

Added by Tobias Klepp almost 12 years ago. Updated almost 6 years ago.

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',


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #64163: BackendUtility::getProcessedValue does not evaluate foreign_table_whereNeeds Feedback2015-01-07

Actions
Actions

Also available in: Atom PDF