mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-16 03:43:08 +00:00
b57eed4584
The `Status` class has a default order on it, so when this query gets built and gets all the way to `find_in_batches` there is an order already there. When `find_in_batches` is run it discards any existing order on the query, and emits a warning to the logs if there is one there. This change removes the order prior calling `find_in_batches`, which will stop the logged warning from occurring as well. |
||
---|---|---|
.. | ||
settings | ||
application_extension.rb | ||
atom_serializer.rb | ||
email_validator.rb | ||
exceptions.rb | ||
feed_manager.rb | ||
formatter.rb | ||
hash_object.rb | ||
inline_rabl_scope.rb | ||
inline_renderer.rb | ||
status_length_validator.rb | ||
tag_manager.rb | ||
url_validator.rb |