Meilleur ordre des discussions
This commit is contained in:
parent
87e4ffac27
commit
c7dfe51e03
|
@ -173,7 +173,7 @@
|
||||||
SELECT MAX(at) as at, number
|
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
|
FROM (SELECT at, target as number FROM sendeds UNION (SELECT at, send_by as number FROM receiveds)) as discussions
|
||||||
GROUP BY number
|
GROUP BY number
|
||||||
ORDER BY at
|
ORDER BY at DESC
|
||||||
";
|
";
|
||||||
|
|
||||||
return $this->runQuery($query);
|
return $this->runQuery($query);
|
||||||
|
|
Loading…
Reference in New Issue