# 帖子已被删除，显示为隐藏在主题中，数据库中未标记为隐藏或已删除

**URL:** https://meta.discourse.org/t/post-is-deleted-and-shows-as-hidden-in-topic-not-marked-as-hidden-or-deleted-in-db/82216
**Category:** Support
**Created:** [2018 年3 月 5 日 14:09 UTC](https://meta.discourse.org/t/post-is-deleted-and-shows-as-hidden-in-topic-not-marked-as-hidden-or-deleted-in-db/82216 "2018-03-05T14:09:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### 作者： ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### 发布日期： [2018 年3 月 5 日 18:40 UTC](https://meta.discourse.org/t/post-is-deleted-and-shows-as-hidden-in-topic-not-marked-as-hidden-or-deleted-in-db/82216/2 "2018-03-05T18:40:25Z")

</div>

The `hidden` field won’t necessarily be set, but the `deleted_at` field should be set. Are you sure you’re looking at the right post? Through the rails console you’ll need to search with something like `Post.with_deleted.where("topic_id = ? AND deleted_at IS NOT NULL", your_topic_id)`

---

_[View the full topic](https://meta.discourse.org/t/post-is-deleted-and-shows-as-hidden-in-topic-not-marked-as-hidden-or-deleted-in-db/82216)._
