#88300Allow extra db columns in the records that are retrieved for the pagetree
Description
In \TYPO3\CMS\Backend\Controller\Page\TreeController::getAllEntryPointPageTrees() the PageTreeRepository is instantiated with the default db fields for each row (fields defined in \TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository::$fields). Sometimes other db fields are also needed, but this can’t be configured.
Use case: a custom icon for a page in the pagetree is desired, based on the value of a db field that is not one of the default fields. A userFunc can be defined to set the icon class, but here the db row only contains the default fields defined in the PageTreeRepository class. In earlier versions of TYPO3 the entire db row was passed to such a userFunc.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.