From 7c0370b4eacdd62c06c7324a39f092361e84a2bc Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 27 Dec 2025 16:26:02 +0100 Subject: Do not include hidden feeds when counting unread articles in categories (#8357) fix https://github.com/FreshRSS/FreshRSS/issues/8347 --- app/Models/Context.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/Context.php') 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 -- cgit v1.2.3