# 错误：reaction 和 reaction-received 无法加载下一页

**URL:** <https://meta.discourse.org/t/bug-reaction-and-reaction-received-fail-to-load-the-next-page/390385>\
**Category:** Bug\
**Tags:** reactions\
**Created:** [2025年十二月4日 08:21 UTC](https://meta.discourse.org/t/bug-reaction-and-reaction-received-fail-to-load-the-next-page/390385 "2025-12-04T08:21:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)\
**Post date:** [2025年十二月4日 08:46 UTC](https://meta.discourse.org/t/bug-reaction-and-reaction-received-fail-to-load-the-next-page/390385/2 "2025-12-04T08:46:13Z")

</div>

感谢您的草稿拉取请求（PR），反应（reactions）的分页现在确实看起来不准确并且似乎有重复。

我不确定正确的修复方法是否是设置 `post_id`。看起来分页使用了 `before_reaction_user_id`（参见[此处](https://github.com/discourse/discourse/blob/8b29528420a081e9d01d49a0d907458633de68d9/plugins/discourse-reactions/app/controllers/discourse_reactions/custom_reactions_controller.rb#L74-L79)）。甚至可能删除第 27 行（PR 中的那一行）会有帮助，因为它很可能在上面扁平化的 `reaction` 中已经设置了。

---

_[View the full topic](https://meta.discourse.org/t/bug-reaction-and-reaction-received-fail-to-load-the-next-page/390385)._
