FreshRSS / FreshRSS

A free, self-hostable news aggregator…
https://freshrss.org
GNU Affero General Public License v3.0
8.5k stars 761 forks source link

Bug filtering feeds having "show in its category" #5674

Open Alkarex opened 7 months ago

Alkarex commented 7 months ago

However, search by user query with a specific feed works a bit strange. All feeds from the Main stream are displayed in the search results, but not this particular feed.

Example:

  1. Set "FreshRSS releases" feed visibility to "Show in its category" msedge_35LfeystYQ
  2. Create a user query with this feed and expression "muting" msedge_b0xMzOhsn1
  3. Go to the main page
  4. Type "S:1" to the search field. No articles found. Expected behavior: one article from FreshRSS releases feed was found.

Not sure if this is a bug. Then I can close this issue.

Originally posted by @Totaxe in https://github.com/FreshRSS/FreshRSS/issues/5668#issuecomment-1732599336

Alkarex commented 2 weeks ago

At the moment, when user queries are reused in another search like S:1 S:2, only the search expression is used, and not other parameters such as feed ID, category ID, read/unread, favourite or not, etc. So a proper fix would require some significant changes. Fixing only the feed ID could be done by including a search filter f:1 in the search query, but we do not yet have a mechanism for categories, favourites, etc.