Hi Johann, Just use "|": orderby=db.table.name|db.table.surname
On 3 fév, 13:56, Johann Spies <johann.sp...@gmail.com> wrote: > According to the book the syntax to create an 'order by' query is > db(query).select(ALL,orderby=field). > > What if I want to use more than one field in the 'order by' ? > > Regards > Johann > > -- > May grace and peace be yours in abundance through the full knowledge of God > and of Jesus our Lord! His divine power has given us everything we need for > life and godliness through the full knowledge of the one who called us by > his own glory and excellence. > 2 Pet. 1:2b,3a