A free, self-hostable news aggregator…
fix: do not report PRIORITY_HIDDEN feeds in nbUnreadsPerFeed (#8715)
polybjorn244d91696659
diff --git a/app/views/javascript/nbUnreadsPerFeed.phtml b/app/views/javascript/nbUnreadsPerFeed.phtmlindex 12993d297..d97d4bdc1 100644--- a/app/views/javascript/nbUnreadsPerFeed.phtml+++ b/app/views/javascript/nbUnreadsPerFeed.phtml@@ -8,7 +8,9 @@ $result = [];foreach ($this->categories as $cat) {foreach ($cat->feeds() as $feed) {- $result['feeds'][$feed->id()] = $feed->nbNotRead();+ if ($feed->priority() > FreshRSS_Feed::PRIORITY_HIDDEN) {+ $result['feeds'][$feed->id()] = $feed->nbNotRead();+ }}}foreach ($this->tags as $tag) {