Actions
Bug #80400
closedTYPO3\CMS\Backend\Utility::getItemLabel does not return a label, if label_alt is used in TCA
Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-03-22
Due date:
% Done:
60%
Estimated time:
1.00 h
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
The function TYPO3\CMS\Backend\Utility\BackendUtility::getItemLabel does not return a label if label_alt is set in the TCA. This can be solved, if the passed column name is split by ',' and then returns an array of labels. Next, the function TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList::renderListHeader should be able to process an array instead of a single string.
Attached are two Patches, which solve this behavior.
Files
Actions