Fix where scope joins error
This commit is contained in:
parent
afc808ca54
commit
ca3bfbadcb
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module AccountLimitable
|
||||||
end
|
end
|
||||||
|
|
||||||
def scope_status_mentioned(status)
|
def scope_status_mentioned(status)
|
||||||
status.active_mentions.where.joins(:account).merge(Account.local).select('account_id AS id').reorder(nil)
|
status.active_mentions.joins(:account).merge(Account.local).select('account_id AS id').reorder(nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: not work
|
# TODO: not work
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue