On Jun 12, 6:14 pm, pk <peter.kirch...@youngdesigners.de> wrote: > how can i sort or orderby my table, when i will show the newest > content on top? > i have a field calls timestamp with 'datetime' > and now i will show on the html page the newest one on top like > 12.06.2009 - Test > 10.06.2009 - Test2
crud.select(db.tablename, orderby=~db.tablename.timestamp) F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---