Merge git://github.com/tootsuite/mastodon into tootsuite-master
This commit is contained in:
commit
7e5691804d
139 files changed
+1196
-758
No files matched your search
@@ -20,9 +20,7 @@ class Api::V1::FavouritesController < Api::BaseController
|
||||
|
||||
def cached_favourites
|
||||
cache_collection(
|
||||
Status.where(
|
||||
id: results.map(&:status_id)
|
||||
),
|
||||
Status.reorder(nil).joins(:favourites).merge(results),
|
||||
Status
|
||||
)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user