Bug #88099
closedNot possible to sort parts of the page tree differently anymore
0%
Description
Since a long time we are using pages for news or events, instead of the regular records like tx_news does. With the old page tree it was possible to sort parts of the page tree differently with the hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php']['postProcessCollections']
This hook was very convenient to sort news pages by date in a news storage folder. We use it for a lot of our clients, including a big university news website.
This hook, but also other ones related to the page tree, have been removed without any deprecation warning, which is not according to the TYPO3 core team rules, so I'm wondering what happened. The only thing to solve this fast for our clients is to overwrite the new page tree repository completely
Updated by Patrick Broens over 5 years ago
With the first sentence I mean we use custom page types for news, events etc.
Updated by Georg Ringer 4 months ago
- Status changed from New to Rejected
Hey Patrick,
going through forge I discovered this issue. There is still no replacement as you know from 9.5. For current versions I suggest xclassing \TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository::getChildPageRecords
. As with v13 (hopefully) single CTE (Common Table Expression) might be used, I don't see a proper way or current place for your requirements and closing issue as a cleanup.
hope you understand