After importing and merging several drupal installastions, i came across this "bug".
Nothing important, but I think it's better to sort the users after "created" than "uid" when getting the latest aditions.

--- user.module.orig    2005-03-12 11:48:54.485881868 +0100
+++ user.module 2005-03-12 11:49:06.146192209 +0100
@@ -526,7 +526,7 @@

       case 2:
         if (user_access('access content')) {
-          $result = db_query_range('SELECT uid, name FROM {users} WHERE status != 0 ORDER BY uid DESC', 0, 5);
+          $result = db_query_range('SELECT uid, name FROM {users} WHERE status != 0 ORDER BY created DESC', 0, 5);
           while ($account = db_fetch_object($result)) {
             $items[] = format_name($account);
           }
CommentFileSizeAuthor
#1 usersort.patch767 byteskilles@www.drop.org
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

killes@www.drop.org’s picture

Status: Active » Reviewed & tested by the community
FileSize
767 bytes

Right.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)