1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-01 00:08:21 +09:00
mastodon/app/lib
Matt Jankowski b57eed4584 Remove order prior to .find_in_batches (#1470)
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.
2017-04-11 00:38:34 +02:00
..
settings Add extended about page stub 2017-01-13 03:24:41 +01:00
application_extension.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
atom_serializer.rb Clean up generation of account webfinger string (#1477) 2017-04-10 22:58:06 +02:00
email_validator.rb [#817] Add email whitelist 2017-04-04 11:20:15 -04:00
exceptions.rb Add check for visibility.nil? even though it can't ever be, to check for race conditions 2017-04-03 22:54:46 +02:00
feed_manager.rb Remove order prior to .find_in_batches (#1470) 2017-04-11 00:38:34 +02:00
formatter.rb Keep newlines in xml (#1397) 2017-04-10 21:32:45 +02:00
hash_object.rb Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings 2017-01-12 20:46:24 +01:00
inline_rabl_scope.rb Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods, 2017-04-04 13:01:14 +02:00
inline_renderer.rb Replace calls to FeedManager#inline_render and #broadcast 2017-04-05 19:45:18 +02:00
status_length_validator.rb Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text 2017-01-25 01:29:16 +01:00
tag_manager.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
url_validator.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00