Issue Bug Rejected

#88099Not possible to sort parts of the page tree differently anymore

Patrick Broens 04/06/19, 16:35 updated 07/21/24, 14:10

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

Reviews 0

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

History 2

  1. Patrick Broens commented 04/17/19, 16:54

    With the first sentence I mean we use custom page types for news, events etc.

  2. Georg Ringer commented and changed status New Rejected 07/21/24, 14:10

    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