Filter topics by tag in common with "top", "read", "bookmarks" and "posted" filters

Hello dear creators of and users of this beautiful discussion platform!

I found that it’s not possible to filter topics by tag in “top”, “read”, “bookmarks” and “posted” sections - server return 500 error, and 404 for “top” (for example https://meta.discourse.org/tags/docker/l/read), but for “latest”, “new” and “unread” all is ok.

Guess that in file https://github.com/discourse/discourse/blob/master/lib/topic_query.rb must be defined “*_results” blocks for this unsupported filters (i’m absolutely zero in ruby on rails, don’t know it, so hope that the specialists will help resolve this issue).

Thank you very much!

P.S. Sorry for my English…

4 Likes

Hmm good point I am not sure how many of those make sense for tags:

  • top
  • read
  • bookmarks
  • posted

cc @neil

All the links work, although the “Top” link ignores the tag filter. So you’re asking to add support for these in the API? Or are they linked somewhere that I forgot about?

Also, I didn’t know about the “read” filter so I gave it a try without a tag filter:

It doesn’t seem to work and there’s no UI to reach it as far as I can find.

3 Likes

Thanks for Your reply.
But the links NOT work. “top” link ignores the tag filter and “read”, “bookmarks” and “posted” filters also ignores it. “tag” list of topics always display latest topics. There are no ui to display it by others filters that i say.
These work:

These do not work:

Could you please tell what need to make changes to the /lib/topic_query.rb file to get it working?