there's no way around join(ing) theexternal table, use the external table column to sort and select only from the first table.
On Sunday, June 12, 2016 at 7:51:17 AM UTC+2, Tribo Eila wrote: > > hi, > > using: for x in db(..).select(.. orderby=db.yyy.zzz): > row.append(TD(x.zzz.key <--- ref. value > > how to sort the string value, instead the ref. value? > > i tried using join and it's effective. > > but i'm using nested for loops which my head getting to explode now. > > thanks for your help. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

