projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d6f48d
)
Order users by nickname
author
Maxim Filippov
<colixer@gmail.com>
Sun, 17 Mar 2019 10:23:08 +0000
(13:23 +0300)
committer
Maxim Filippov
<colixer@gmail.com>
Sun, 17 Mar 2019 10:23:08 +0000
(13:23 +0300)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 692ae836c36ff0d265c6fa0e39a053e48eb56d0b..6de766fc1151f0480683d60806bff25adbb937c0 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-773,7
+773,7
@@
defmodule Pleroma.User do
}) :: {:ok, [Pleroma.User.t()], number()}
def search_for_admin(%{query: nil, local: local, page: page, page_size: page_size}) do
query =
- from(u in User, order_by: u.
id
)
+ from(u in User, order_by: u.
nickname
)
|> maybe_local_user_query(local)
paginated_query =