diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-27 19:03:05 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-27 19:03:05 +0200 |
commit | e5565a7e4a817e7f86061355b77c98402b0ceac7 (patch) | |
tree | 7da24560a12f977724394d4f75e776385b65279e | |
parent | 19615a2c3732b8a96fb9007a1d50ec553cdf43ed (diff) |
Fix suggestions fallback query
-rw-r--r-- | app/models/follow_suggestion.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/follow_suggestion.rb b/app/models/follow_suggestion.rb index cfb0887d5..ff07722ca 100644 --- a/app/models/follow_suggestion.rb +++ b/app/models/follow_suggestion.rb @@ -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} |