fix "mark all as read" in tag views marking the wrong entries (#2374)

This commit is contained in:
Athou
2026-11-09 06:08:40 +01:00
parent f6e30a77da
commit eb8626f0e1
9 changed files with 60 additions and 12 deletions

View File

@@ -116,10 +116,11 @@ public class FeedEntryService {
List<FeedSubscription> subscriptions,
Instant olderThan,
Instant insertedBefore,
List<FeedEntryKeyword> keywords) {
List<FeedEntryKeyword> keywords,
String tag) {
List<FeedEntryStatus> statuses =
feedEntryStatusDAO.findBySubscriptions(
user, subscriptions, true, keywords, null, -1, -1, null, false, null, null, null);
user, subscriptions, true, keywords, null, -1, -1, null, false, tag, null, null);
markList(statuses, olderThan, insertedBefore);
}