about summary refs log tree commit diff
path: root/app/models/follow_suggestion.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/follow_suggestion.rb')
-rw-r--r--app/models/follow_suggestion.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/follow_suggestion.rb b/app/models/follow_suggestion.rb
index 4f06db69c..e92546134 100644
--- a/app/models/follow_suggestion.rb
+++ b/app/models/follow_suggestion.rb
@@ -7,7 +7,7 @@ START a=node:account_index(Account={id})
 MATCH (a)-[:follows]->(b)-[:follows]->(c)
 WHERE a <> c
 AND NOT (a)-[:follows]->(c)
-RETURN DISTINCT c.account_id
+RETURN DISTINCT c.account_id, c.nodeRank
 ORDER BY c.nodeRank
 LIMIT {limit}
 END