mirror of
https://github.com/discourse/discourse.git
synced 2025-01-01 16:06:19 +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. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |