order by created instead of id

This commit is contained in:
Mario Vavti 2017-11-20 10:00:13 +01:00
parent 6241967112
commit 66c0ac591c

View File

@ -49,7 +49,7 @@ class Hq extends \Zotlabs\Web\Controller {
AND item_unseen = 1 AND item_unseen = 1
AND mid = parent_mid AND mid = parent_mid
$item_normal $item_normal
ORDER BY id DESC ORDER BY created DESC
limit 1", limit 1",
local_channel() local_channel()
); );