[TYPO3-english] tt_news: Set default sorting order in the BE list module?

Peter Kühnlein peter at function2form.net
Wed Jan 4 15:48:13 CET 2012


Hi Morten,
you can set it in your TS. Should be something like

plugin.tt_news {
   listOrderBy >
   listOrderBy = crdate desc
}

Cheers,
Peter

Am 04.01.2012 14:16, schrieb Morten Kjems:
> Hi.
>
> Here is a straight forward question:
>
> I would like to set the default sorting of tt_news records in the list 
> module to be sorted by 'create date' in reversed order.
>
> This will display the latest created tt_news record at the top.
>
> Now how do I do that?
>
> I know that I can set the crdate field and click on twice on the 
> header to get the reversed order.
>
> But how do I set this to be default, so no clicks are needed?
>
> Thanks for helping.
>
> /Morten
>
>
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


-- 

http://www.function2form.net
http://www.peter-kuehnlein.net

"If one were to say what it is to do good, in a single word it would
  be to endure suffering. Not enduring is bad without exception."

(Hagakure)



More information about the TYPO3-english mailing list