We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27719a4 commit 32ff78fCopy full SHA for 32ff78f
1 file changed
app/models/status.rb
@@ -305,7 +305,7 @@ def favourites_map(status_ids, account_id)
305
end
306
307
def reblogs_map(status_ids, account_id)
308
- select('reblog_of_id').where(reblog_of_id: status_ids).where(account_id: account_id).reorder(nil).each_with_object({}) { |s, h| h[s.reblog_of_id] = true }
+ select('reblog_of_id').where(reblog_of_id: status_ids).where(account_id: account_id).unscoped.each_with_object({}) { |s, h| h[s.reblog_of_id] = true }
309
310
311
def mutes_map(conversation_ids, account_id)
0 commit comments