diff options
author | friendica <info@friendica.com> | 2012-03-13 19:27:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-13 19:27:52 -0700 |
commit | de017d1ed76500c01fd11c8e1d36cf4ebd70172d (patch) | |
tree | 6f0412fba9934257465217c9cae283b626d7fb70 /mod/message.php | |
parent | be48fff1570aa1d04e049a6fd1665f4fc9634a62 (diff) | |
download | volse-hubzilla-de017d1ed76500c01fd11c8e1d36cf4ebd70172d.tar.gz volse-hubzilla-de017d1ed76500c01fd11c8e1d36cf4ebd70172d.tar.bz2 volse-hubzilla-de017d1ed76500c01fd11c8e1d36cf4ebd70172d.zip |
sort inbox by recently replied conversations first
Diffstat (limited to 'mod/message.php')
-rwxr-xr-x | mod/message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php index 37f92e8d9..65f692f3d 100755 --- a/mod/message.php +++ b/mod/message.php @@ -194,7 +194,7 @@ function message_content(&$a) { $r = q("SELECT max(`mail`.`created`) AS `mailcreated`, min(`mail`.`seen`) AS `mailseen`, `mail`.* , `contact`.`name`, `contact`.`url`, `contact`.`thumb` , `contact`.`network` FROM `mail` LEFT JOIN `contact` ON `mail`.`contact-id` = `contact`.`id` - WHERE `mail`.`uid` = %d AND `from-url` $eq '%s' GROUP BY `parent-uri` ORDER BY `created` DESC LIMIT %d , %d ", + WHERE `mail`.`uid` = %d AND `from-url` $eq '%s' GROUP BY `parent-uri` ORDER BY `mailcreated` DESC LIMIT %d , %d ", intval(local_user()), dbesc($myprofile), intval($a->pager['start']), |