aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-09-02 06:55:58 +0000
committerrinpatch <rinpatch@sdf.org>2020-09-08 12:53:02 +0300
commit84acfab15659a1e09bfd5ce75f1ba0d60d2ab7b2 (patch)
tree1c325f745ecba274e327d8fa2e41b32067d3e721 /lib
parent718c7cc8473282a9239cc125e10b54df7ed5e0fe (diff)
downloadpleroma-84acfab15659a1e09bfd5ce75f1ba0d60d2ab7b2.tar.gz
Merge branch 'fix-searching-following' into 'develop'
search: fix 'following' query parameter See merge request pleroma/pleroma!2943
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/user/search.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/user/search.ex b/lib/pleroma/user/search.ex
index d4fd31069..adbef7fb8 100644
--- a/lib/pleroma/user/search.ex
+++ b/lib/pleroma/user/search.ex
@@ -116,7 +116,7 @@ defmodule Pleroma.User.Search do
end
defp base_query(_user, false), do: User
- defp base_query(user, true), do: User.get_followers_query(user)
+ defp base_query(user, true), do: User.get_friends_query(user)
defp filter_invisible_users(query) do
from(q in query, where: q.invisible == false)