Exclude_tag 在分类 RSS 源中不起作用

我有一个简单的变通方案!

/latest.rss?category=6&exclude_tag=ai

已确认类别 RSS 订阅源中的边缘情况。

像这样应该能彻底解决问题。稍后我会标记协作。

def category_feed
  guardian.ensure_can_see!(@category)
  discourse_expires_in 1.minute
  # ...
  @topic_list = TopicQuery.new(current_user, build_topic_list_options)
                           .list_new_in_category(@category)
  render "list", formats: [:rss]
end
1 个赞