Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `package.json`
This commit is contained in:
@@ -431,6 +431,8 @@ class Account < ApplicationRecord
|
||||
SELECT target_account_id
|
||||
FROM follows
|
||||
WHERE account_id = ?
|
||||
UNION ALL
|
||||
SELECT ?
|
||||
)
|
||||
SELECT
|
||||
accounts.*,
|
||||
@@ -446,7 +448,7 @@ class Account < ApplicationRecord
|
||||
LIMIT ? OFFSET ?
|
||||
SQL
|
||||
|
||||
records = find_by_sql([sql, account.id, account.id, account.id, limit, offset])
|
||||
records = find_by_sql([sql, account.id, account.id, account.id, account.id, limit, offset])
|
||||
else
|
||||
sql = <<-SQL.squish
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user