Menu

#6 Show users in order

open
nobody
None
5
2005-02-05
2005-02-05
No

Show the users in ascending order by their lastname

diff -rC 2 billmate/class/User.class.php
billmate-patch/class/User.class.php
*** billmate/class/User.class.php Sun Jul 25
15:22:46 2004
--- billmate-patch/class/User.class.php Sat Feb 5
19:21:32 2005
***************
*** 369,372 ****
--- 369,373 ----
if(!$all)
$sql .= ' WHERE NOT (`access` &
'.$hidden.')';
+ $sql .= ' ORDER BY lname ASC';
$ret = $this->db->query($sql);
if(DB::isError($ret)) {

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.