mirror of
https://github.com/discourse/discourse.git
synced 2025-01-04 11:44:22 +08:00
df1fc5bca8
We currently query the posts table without an order when notifying users of moved posts. Generally the query will return the lowest post number post (b/c ID correlates with post_number in most cases) but not always. This adds an order to the post query in notify_moved_posts job. Also I removed some if statement nesting with early returns / guard clauses. |
||
---|---|---|
.. | ||
concerns | ||
onceoff | ||
regular | ||
scheduled | ||
base.rb |