Skip to content

[Bug] Categories unread counts include "visibility: do not show" sources #8452

@dylanbob

Description

@dylanbob

Describe the bug

For a few weeks now, probably after one of my automatic FreshRSS update, unread counts for categories (the left horizontal sidebars) have been including sources which are set with visibility=do not show. It used NOT to be included in the count, which made more sense.

To Reproduce

  1. Go to the main page
  2. See: categories unread counts are including "do not show" visibility sources

Expected behavior

The unread counts should NOT include sources which are set to visibility:do not show, only other ones.

FreshRSS version

1.28.0

System information

  • Database version: SQLite 3.46.1-7
  • PHP version: 8.4.16
  • Installation type: git
  • Web server type: nginx as a revers proxy, apache as a web server
  • Device: any, windows or linux PC, android
  • OS: debian trixie 13.3 (up to date)
  • Browser: any, firefox on windows/linux/android, edge chromium on windows

Additional context

I set sources I do not want to follow for a time with that visibility parameter, but now my unread counts are all "wrong".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug (unconfirmed)issues that could not be reproduced yet

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions