# Восстановление ответов не меняет дату обновления темы

**URL:** https://meta.discourse.org/t/undeleting-replies-does-not-change-the-topics-bump-date/388501
**Category:** Bug
**Created:** [14.Ноябрь.2025 16:47:07 UTC](https://meta.discourse.org/t/undeleting-replies-does-not-change-the-topics-bump-date/388501 "2025-11-14T16:47:07Z")
**Posts on this page:** 1
**Showing post:** 5

<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: [01.Январь.2026 11:05:39 UTC](https://meta.discourse.org/t/undeleting-replies-does-not-change-the-topics-bump-date/388501/5 "2026-01-01T11:05:39Z")

</div>

Это должно быть исправлено в

> <https://github.com/discourse/discourse/pull/36935>
>
> When a reply is deleted, we reset the topic's bump date to the previous post's d…ate so the topic returns to its rightful place in /latest. However, if that reply is later recovered, the bump date wasn't being restored, leaving the topic buried even though it has a recent reply.
> 
> This used to work by accident: recovering a user-deleted post would call \`revise()\` to restore the original content, and editing the last post would bump the topic. When #34681 removed bumping on edits, this side effect went away, exposing the missing logic in the recovery path.
> 
> The fix mirrors what we already do for \`hide!/unhide!\` - call \`reset\_bumped\_at\` with the recovered post if it's the last visible reply. We need to reload the topic first since \`update\_statistics\` updates the database directly and our in-memory object would have a stale \`highest\_post\_number\`.
> 
> Ref - https://meta.discourse.org/t/388501

С Новым годом 🎉

---

_[View the full topic](https://meta.discourse.org/t/undeleting-replies-does-not-change-the-topics-bump-date/388501)._
