Closed (fixed)
Project:
Drupal core
Component:
user system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Mar 2005 at 10:53 UTC
Updated:
5 Oct 2005 at 22:00 UTC
Jump to comment: Most recent file
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);
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | usersort.patch | 767 bytes | killes@www.drop.org |
Comments
Comment #1
killes@www.drop.org commentedRight.
Comment #2
dries commentedCommitted to HEAD. Thanks.
Comment #3
(not verified) commentedComment #4
(not verified) commentedComment #5
(not verified) commentedComment #6
(not verified) commentedComment #7
(not verified) commented