sort twkn by id, since we scroll using max_id

This commit is contained in:
Hannes Mannerheim 2016-02-04 13:52:16 +01:00
parent 077a5a04a2
commit b4f45b8537

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);