DEV: include TopicQueryParams in TagsController (PR #8045)

I’m working on a plugin where I have something like this:

TopicQuery.add_custom_filter :my_custom_filter do |topics, topic_query|
  if topic_query.options[:my_custom_filter] == "1"

which allows me to filter topics in latest, top etc. if my_custom_filter is included as a query param to the latest, top etc. endpoints. However, the TagsController doesn’t extract the custom filters I added from params so topic_query.options[:custom_filter] is always missing in TagsController. ListController includes the TopicQueryParams module so I did the same thing for TagsController.


You’ve signed the CLA, OsamaSayegh. Thank you! This pull request is ready for review.