diff options
author | friendica <info@friendica.com> | 2014-09-20 16:22:21 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-20 16:22:21 -0700 |
commit | 44cb423f21b6a34a138e7ffd2814fdd08788cfbe (patch) | |
tree | bbd84e79b59b3e6ccd848758a65aeae9033d37fa /mod/admin.php | |
parent | 8d23a8da8dd7326d6ce9c3a64f96e5325a09d4a1 (diff) | |
parent | a1773fea2529e6e3b1dcc816e948dacb4a250705 (diff) | |
download | volse-hubzilla-44cb423f21b6a34a138e7ffd2814fdd08788cfbe.tar.gz volse-hubzilla-44cb423f21b6a34a138e7ffd2814fdd08788cfbe.tar.bz2 volse-hubzilla-44cb423f21b6a34a138e7ffd2814fdd08788cfbe.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php index 68ce6fe85..06f44c89b 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -687,7 +687,9 @@ function admin_page_users(&$a){ $order = " order by account_email asc "; if($_REQUEST['order'] === 'expires') $order = " order by account_expires desc "; - + if($_REQUEST['order'] === 'created') + $order = " order by account_created desc "; + $users =q("SELECT `account_id` , `account_email`, `account_lastlog`, `account_created`, `account_expires`, " . "`account_service_class`, ( account_flags & %d ) > 0 as `blocked`, " . "(SELECT GROUP_CONCAT( ch.channel_address SEPARATOR ' ') FROM channel as ch " . "WHERE ch.channel_account_id = ac.account_id and not (ch.channel_pageflags & %d )) as `channels` " . |