sort twkn by id, since we scroll using max_id

This commit is contained in:
Hannes Mannerheim 2016-02-04 13:52:29 +01:00
parent 4c6a860bae
commit 60acc52638

View File

@ -60,7 +60,7 @@ class RawPublicAndExternalNoticeStream extends NoticeStream
$notice->selectAdd();
$notice->selectAdd('id');
$notice->orderBy('created DESC, id DESC');
$notice->orderBy('id DESC');
if (!is_null($offset)) {
$notice->limit($offset, $limit);