Re: [SQLObject] Ordering by a column of a foreign key...

2008-06-18 Thread Simon Cross
On Wed, Jun 18, 2008 at 9:58 PM, Sam's Lists <[EMAIL PROTECTED]> wrote: > I have a select like this: > > progs_running = list(ProgRun.select(AND(ProgRun.q.progressID == '3', > ProgRun.q.pingTime > > cutoff), > > orderBy=ProgRun.q.theCompany)) > >

[SQLObject] Ordering by a column of a foreign key...

2008-06-18 Thread Sam's Lists
I have a select like this: progs_running = list(ProgRun.select(AND(ProgRun.q.progressID == '3', ProgRun.q.pingTime > cutoff), orderBy=ProgRun.q.theCompany)) where theCompany is a foreign key. What I'd really like to do though is order it by th