"Italo Maia" <[EMAIL PROTECTED]> writes: > Well, let's see, i have this query : > "noticias=Noticia.select(orderBy=Noticia.q.data)" > where 'data' is when the 'noticia' was created. So, this query should > send me a list ordered by data, from newer to older, ain't that right? > It's giving me a list order from oldest to newer...what am i doing > wrong?
It is correct, it should return older dates first. After all, 2006-03-15 comes before 2006-03-17. To get then reversed you can put a "[-1]" after the query, to have the array returned reversed. :-) -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

