Issue Bug Closed

#80400TYPO3\CMS\Backend\Utility::getItemLabel does not return a label, if label_alt is used in TCA

Viktor Leonhardt 03/22/17, 16:38 updated 02/19/22, 13:06

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.

Reviews 0

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