# 两位用户等待批准但不在 RQ 中 - 他们在哪里？

**URL:** <https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854>\
**Category:** Bug\
**Created:** [2021年十一月11日 04:26 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854 "2021-11-11T04:26:56Z")\
**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年九月23日 16:14 UTC](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854/5 "2025-09-23T16:14:41Z")

</div>

我认为这里也提到了这一点：

> [@Notification claims X users for approval, but none are found](https://meta.discourse.org/t/notification-claims-x-users-for-approval-but-none-are-found/262853/9?u=moin):
>
> I found this topic while searching before filing a bug report, so adding to it. TL;DR the query for the notification is wrong because it counts rejected users as well. Notification: 16 users waiting for approval, click the link, see only 2. The [query used for the notification](https://github.com/discourse/discourse/blob/fcafc8872fe76158064a58fc58bc70b34a279c66/app/jobs/scheduled/pending_users_reminder.rb#L9) is this puts AdminUserIndexQuery.new(query: "pending", stats: false).find\_users\_query.to\_sql SELECT "users".\* FROM "users" WHERE (suspended\_till IS NULL OR suspended\_till \<= '2023-11-13 11:05:23.225614') AND "users".…

---

_[View the full topic](https://meta.discourse.org/t/two-users-waiting-for-approval-but-not-in-rq-where-are-they/208854)._
