Issue Bug Closed

#88726$orderByFields is not handen over to parent::init() for PageTreeView

Tomas Norre Mikkelsen 07/11/19, 15:39 updated 04/01/20, 21:14

Description

Hi.

Today I saw that the $orderByFields isn’t handed over to the parent::init() for the PageTreeView.
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L70

I don’t know what consequences this have, but there are currently no tests covering this.

This has been in the core for where long, without any notice, so it cannot have a big impact on the users of TYPO3.

6.2 -> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-2/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L57
6.1 -> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-1/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L69
6.0 -> https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_6-0/typo3/sysext/backend/Classes/Tree/View/PageTreeView.php#L78

I’ll be happy to help fixing this. But would like to have your confirmation first that it’s issue.

Thanks in advance.
Tomas

Reviews 1