Hi Dan. Sorry, but I can't remember if I ever got that problem solved. I
did have this response to the question I believe the keys of the orderby
dict should be the actual table names, not the literal keys parent and
child.
I've not actually touched web2py in a while since I moved on to flask.
Jake,
Did you ever get this to work ? Reason being I think I have the same
problem.
On Sunday, April 21, 2013 9:47:59 AM UTC-5, Jake Lowen wrote:
In a normal grid the orderby descending works just fine:
grid = SQLFORM.grid(db.meetings,
orderby=~db.meetings.meeting_date,
)
I believe the keys of the orderby dict should be the actual table names,
not the literal keys parent and child.
Anthony
On Sunday, April 21, 2013 10:47:59 AM UTC-4, Jake Lowen wrote:
In a normal grid the orderby descending works just fine:
grid = SQLFORM.grid(db.meetings,
3 matches
Mail list logo