diff options
| author | 2025-12-27 16:26:02 +0100 | |
|---|---|---|
| committer | 2025-12-27 16:26:02 +0100 | |
| commit | 7c0370b4eacdd62c06c7324a39f092361e84a2bc (patch) | |
| tree | b7b96bde135dab5189728e668e8b6b03f2079ef4 /app/Models/Context.php | |
| parent | 40533684bb255264fec76296aed3ea4d35cd5317 (diff) | |
Do not include hidden feeds when counting unread articles in categories (#8357)
fix https://github.com/FreshRSS/FreshRSS/issues/8347
Diffstat (limited to 'app/Models/Context.php')
| -rw-r--r-- | app/Models/Context.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php index a8feb7dbd..c9d743e76 100644 --- a/app/Models/Context.php +++ b/app/Models/Context.php @@ -570,7 +570,7 @@ final class FreshRSS_Context { continue; } - if ($cat->nbNotRead() > 0) { + if ($cat->nbNotRead(minPriority: FreshRSS_Feed::PRIORITY_CATEGORY) > 0) { $another_unread_id = $cat->id(); if ($found_current_get) { // Unread articles and the current category has |
