diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-28 20:26:49 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-28 20:26:49 +0200 |
commit | bfb6cc5f2c792852cdbc74bc9634289a4298c1b8 (patch) | |
tree | ab918a0e1439e21b1d3e6e35da45b9fae226ac05 /app/models | |
parent | ac4f53a3a2488c4af789df862d9e68d5327bebb1 (diff) |
Make suggestions box also use user list components
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/follow_suggestion.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/follow_suggestion.rb b/app/models/follow_suggestion.rb index ff07722ca..146e515a0 100644 --- a/app/models/follow_suggestion.rb +++ b/app/models/follow_suggestion.rb @@ -38,6 +38,7 @@ END query = <<END MATCH (b) +WHERE b.account_id <> {id} RETURN b.account_id ORDER BY b.nodeRank DESC LIMIT {limit} |