From e5565a7e4a817e7f86061355b77c98402b0ceac7 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 27 Oct 2016 19:03:05 +0200 Subject: [PATCH] Fix suggestions fallback query --- app/models/follow_suggestion.rb | 3 --- 1 file changed, 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 = < b -AND NOT (a)-[:follows]->(b) RETURN b.account_id ORDER BY b.nodeRank DESC LIMIT {limit}