Meilleur ordre des discussions

This commit is contained in:
Pierre-Lin Bonnemaison 2015-08-18 23:10:03 +02:00
parent 87e4ffac27
commit c7dfe51e03
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@
SELECT MAX(at) as at, number
FROM (SELECT at, target as number FROM sendeds UNION (SELECT at, send_by as number FROM receiveds)) as discussions
GROUP BY number
ORDER BY at
ORDER BY at DESC
";
return $this->runQuery($query);