label_userFunc broken with TYPO3 7
I'm using 'label_userFunc' in TCA to adjust the row naming in the backend.
In 7.0.2 all is fine. In 7.1.0 only the uid of the row is being displayed as
long as I set 'label' => uid.
From my understanding that's according the documented behaviour:
'The result of this function overrules the label, label_alt or
A bit weird:
It seem to work properly on IRRE records.
It does NOT work when record are being display as a top level recod in the BE.
[BUGFIX] Fix user_labelFunc when uid is used as label
Tested-by: Philipp Thiele <email@example.com>
Reviewed-by: Hans Mayer <firstname.lastname@example.org>
Reviewed-by: Andreas Wolf <email@example.com>
Tested-by: Andreas Wolf <firstname.lastname@example.org>
Tested-by: Benjamin Mack <email@example.com>