# “watching\_first\_post”主题列表筛选器不起作用？

**URL:** https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316
**Category:** Bug
**Tags:** topic-filter
**Created:** [2025年十月11日 07:33 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316 "2025-10-11T07:33:39Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2025年十月11日 07:33 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/1 "2025-10-11T07:33:39Z")

</div>

`/filter` 的文档中提到了 `watching_first_post` 过滤器。

> [@sam](#):
>
> **`in:watching_first_post`** - 仅关注首帖的主题

然而，这似乎不起任何作用。

它也不能作为常规的 `?state=` 参数使用，而“关注”等功能却可以。

查看 [代码](https://github.com/discourse/discourse/blob/db67a0841e8e14ae70de0890441f8158c50ae3c9/lib/topics_filter.rb#L746-L755)，它似乎使用了 `TopicUser`，如果我没记错的话，我认为这不适用于 `watching_first_post`？

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十月11日 10:50 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/2 "2025-10-11T10:50:05Z")

</div>

文档发布时，我也有同样的问题。

> [@Moin](#):
>
> > [@sam](#):
> >
> > - **`in:watching_first_post`** - 仅关注首帖的主题
> 
> 这可能吗？我知道你可以在某个分类下只关注首帖，但这在主题中是如何实现的？

但我也不确定此后是否有任何变化。

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2025年十月11日 11:33 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/3 "2025-10-11T11:33:45Z")

</div>

但是对于_主题_列表来说，这有意义吗？  
它应该显示“仅显示您关注的类别中的主题的首帖”。

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2025年十月13日 12:41 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/6 "2025-10-13T12:41:53Z")

</div>

感谢您的报告 @RGJ 👍

这两个“过滤器”应该已通过以下方式修复：

> <https://github.com/discourse/discourse/pull/35353>
>
> The "watching first post" notification level is not a topic notification level b…ut a category/tag notification level.
> 
> This fixes both the "topics\_filter.rb" and "topic\_query.rb" to account for this and allow the filter to work.
> 
> Ref - meta/t/385316

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十月14日 06:32 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/7 "2025-10-14T06:32:34Z")

</div>

> in:watching\_first\_post - 显示您正在关注的、有新帖的主题

是否也调整显示的文本？例如“显示您正在关注的、有新帖的分类和标签下的主题”？

这样可能更容易理解，跟踪、关注、正常和静音指的是您为主题选择的状态，但新帖最终会显示所有这些状态的主题，具体取决于分类和标签。这样也就能清楚地表明，跟踪和关注过滤器不仅基于已设置为默认值的分类和标签，还基于所有其他原因具有相同状态的主题。例如，因为您创建了该主题，因此您正在关注它。

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2025年十月14日 09:13 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/8 "2025-10-14T09:13:04Z")

</div>

> [@Moin](#):
>
> 类似“优先显示您关注的类别和标签的主题”？

当然，这说得通 👍

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2025年十月15日 06:00 UTC](https://meta.discourse.org/t/watching-first-post-topic-list-filter-not-working/385316/9 "2025-10-15T06:00:28Z")

</div>

此主题已在 20 小时后自动关闭。不再允许回复。
