Page 1 of 1

Sort by multiple criteria

PostPosted: Mon Nov 26, 2012 11:40 am
by Gershy
I found the page that explains this a few weeks ago but I can't seem to find it again. I have a table of "Members" with first and last names. If I sort them by their last names, and there are several members with the same last name, how do I delegate to sorting them by their first names?


To sort by only last name I'm using the url method;
$app->url('&-sort=Last_Name');

Re: Sort by multiple criteria

PostPosted: Fri Nov 30, 2012 4:19 am
by shannah
Code: Select all
$app->url('&-sort=Last_Name,First_Name');


-Steve

Re: Sort by multiple criteria

PostPosted: Mon Dec 03, 2012 1:50 pm
by Gershy
That's perfect! Thank you.