Issue Feature Closed

#16984class.t3lib_treeview.php returns hardcoded 'title' from db

Tomi Hrovatin 02/13/07, 16:57 updated 08/06/10, 13:16

Description

In class.t3lib_treeview.php the returned title is hardcoded to field ‘title’ so if we want to display different field in a tree the code always returns ‘title’.

The workaround to this behaviour is to set fieldArray like this:
$treeObj->fieldArray(Array(‘uid’, ‘some_field as title’);
(issue imported from #M4983)

Reviews 0

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