FreshRSS icon indicating copy to clipboard operation
FreshRSS copied to clipboard

[bug] article count is not updated when filters are used

Open aledeg opened this issue 11 years ago • 3 comments

If I use a filter (search, read/unread, favorite/not or user filter) the unread article count in the title is not updated. It reflects the unfiltered view. I think it should reflect the actual view.

aledeg avatar Sep 09 '14 12:09 aledeg

You're right. I don't know yet if it's easy (we should consider performances too) so it's marked for 0.9.

marienfressinaud avatar Sep 11 '14 13:09 marienfressinaud

Could you please check in which case what should happen? Right now the number changes, when a category is selected or a search is active.

math-GH avatar Sep 04 '22 19:09 math-GH

The main reason for the current behaviour is performance. Those unread numbers are cached, but would have to be computed when a filter is applied. This could be an option tough, or used only during a search (with the risk of requiring another SQL request or sub-request, probably making the search twice as slow).

Alkarex avatar Sep 04 '22 19:09 Alkarex