Sort by multiple criteria
Archived from the Xataface Users forum.
Gershy — Mon Nov 26, 2012 11:40 am
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’);
shannah — Fri Nov 30, 2012 4:19 am
- Code: Select all
$app->url('&-sort=Last_Name,First_Name');
-Steve
Gershy — Mon Dec 03, 2012 1:50 pm
That’s perfect! Thank you.