mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-26 23:41:52 +00:00
Fix suggestions fallback query
This commit is contained in:
parent
19615a2c37
commit
e5565a7e4a
|
@ -37,10 +37,7 @@ END
|
|||
neo = Neography::Rest.new
|
||||
|
||||
query = <<END
|
||||
START a=node:account_index(Account={id})
|
||||
MATCH (b)
|
||||
WHERE a <> b
|
||||
AND NOT (a)-[:follows]->(b)
|
||||
RETURN b.account_id
|
||||
ORDER BY b.nodeRank DESC
|
||||
LIMIT {limit}
|
||||
|
|
Loading…
Reference in New Issue
Block a user