mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-25 20:15:47 +02:00
fix refetching of purged articles
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
This commit is contained in:
parent
884080d451
commit
7e9fd48f4a
@ -7,6 +7,7 @@ The format is almost based on [Keep a Changelog](https://keepachangelog.com/en/1
|
||||
### Changed
|
||||
|
||||
### Fixed
|
||||
- Refetching of already read articles after purging (#1142)
|
||||
|
||||
## [15.3.1] - 2021-02-06
|
||||
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user