[BUGFIX] Display relations' titles when TCA label field is type inline 02/23902/4
authorClaus Due <claus@namelesscoder.net>
Thu, 19 Sep 2013 11:34:09 +0000 (13:34 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 19 Sep 2013 12:45:06 +0000 (14:45 +0200)
commit807b591916c22cb7703f00ff27d330232bfa204e
tree302d18a11ef9b614c7eebd0a855f7bd167c70400
parentd8ec3c1839217960a0d62f54b1ab7ea5aec34b9e
[BUGFIX] Display relations' titles when TCA label field is type inline

This change adds a case to treat "inline" TCA types the same way
"select" is treated when building the record's label value.

Before, if record used field of type "inline" as TCA label field, TYPO3
would display fx "3" (number of related records as stored in field
on parent record).

After, TYPO3 will display fx "Record1, Record2, Record2" if "inline"
field contains three related records named thusly.

Fixes: #52133
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: Ie06f09368e81505cb1e5989b61ae98add54b05ba
Reviewed-on: https://review.typo3.org/23902
Reviewed-by: Benjamin Rau
Tested-by: Benjamin Rau
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Cedric Ziel
Tested-by: Cedric Ziel
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/backend/Classes/Utility/BackendUtility.php