[TYPO3-news] [TYPO3-project-news] Backend sorting

Bernd Wilke t3n at pi-phi.de
Tue Nov 10 09:45:00 CET 2015


Am 10.11.2015 um 00:30 schrieb Horst Häberlen:
> Hi all,
>
> is there a way to sort the displayed news in the backend view? Both,
> List and News Admin are disiplaying the news in ascending uid order. So
> i alwas have the oldest news at top.
> Of course i can sort by given date, but i want it by default e.g. by
> descending uid. The latest news should be always on top when opening the
> news folder.

you should be able to override the default-TCA from ext:news about sorting.
the clean way for it is a new extension with a file
/Configuration/TCA/Overrides/<tablename>.php [1]
there you can set your own sorting for the table.

don't forget to insert the dependency to the news extension and your 
modification will always be excuted after the original extension.


[1] 
https://docs.typo3.org/typo3cms/TCAReference/ExtendingTca/StoringChanges/Index.html#storing-in-the-overrides-folder

bernd


More information about the TYPO3-project-news mailing list