# 无法从非活动用户个人资料卡中过滤“主题中的 X 帖子”

**URL:** <https://meta.discourse.org/t/cannot-filter-x-posts-in-topics-from-inactive-user-profile-cards/388086>\
**Category:** UX\
**Created:** [2025年十一月10日 23:58 UTC](https://meta.discourse.org/t/cannot-filter-x-posts-in-topics-from-inactive-user-profile-cards/388086 "2025-11-10T23:58:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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日 21:46 UTC](https://meta.discourse.org/t/cannot-filter-x-posts-in-topics-from-inactive-user-profile-cards/388086/5 "2025-11-14T21:46:46Z")

</div>

已修复。  
 ![Screenshot_20251114_224558_Firefox](https://global.discourse-cdn.com/meta/original/4X/e/b/5/eb5c6d921656a62100a4d6ed4c945b549e96a1b2.jpeg)

> <https://github.com/discourse/discourse/pull/36024>
>
> As a follow-up of #35908.
> 
> Allow filtering posts by user from the user card of… deactivated user.
> 
> \### Context
> The filter button was missing for deactivated accounts because \`topic\_post\_count\` wasn’t exposed in \`InactiveUserSerializer\`.
> 
> \### Result
> \<img width="701" height="216" alt="Screenshot 2025-11-14 at 00 11 27" src="https://github.com/user-attachments/assets/e1b8d2a4-9465-4225-aaed-0582f43b8d90" /\>

---

_[View the full topic](https://meta.discourse.org/t/cannot-filter-x-posts-in-topics-from-inactive-user-profile-cards/388086)._
