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 589453d commit 90ed4a0Copy full SHA for 90ed4a0
1 file changed
app/models/status.rb
@@ -308,7 +308,7 @@ def favourites_map(status_ids, account_id)
308
end
309
310
def reblogs_map(status_ids, account_id)
311
- 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 }
312
313
314
def mutes_map(conversation_ids, account_id)
0 commit comments