1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00

Show number of visible entries instead of number of read entries in feed list

This commit is contained in:
Frédéric Guillot 2023-11-08 14:35:44 +00:00
parent 2bc5ad53c2
commit ba65556eac
3 changed files with 7 additions and 5 deletions

View file

@ -253,6 +253,7 @@ func (f *FeedQueryBuilder) GetFeeds() (model.Feeds, error) {
}
}
feed.NumberOfVisibleEntries = feed.ReadCount + feed.UnreadCount
feed.CheckedAt = timezone.Convert(tz, feed.CheckedAt)
feed.NextCheckAt = timezone.Convert(tz, feed.NextCheckAt)
feed.Category.UserID = feed.UserID