diff options
Diffstat (limited to 'lib/Db/ItemMapperV2.php')
-rw-r--r-- | lib/Db/ItemMapperV2.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Db/ItemMapperV2.php b/lib/Db/ItemMapperV2.php index ed7efff3f..f51b7af4d 100644 --- a/lib/Db/ItemMapperV2.php +++ b/lib/Db/ItemMapperV2.php @@ -167,7 +167,8 @@ class ItemMapperV2 extends NewsMapperV2 ->from($this->tableName) ->where('feed_id = :feedId') ->andWhere('starred = false') - ->orderBy('last_modified', 'DESC'); + ->orderBy('last_modified', 'DESC') + ->addOrderBy('id', 'DESC'); if ($removeUnread === false) { $rangeQuery->andWhere('unread = false'); |