This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix suggestions fallback query
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
19615a2c37
commit
e5565a7e4a
1 changed files
with
0 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-3
app/models/follow_suggestion.rb
+ 0
- 3
app/models/follow_suggestion.rb
View File
@ -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
}
Write
Preview
Loading…
Cancel
Save