Commit 7ac9fff4 authored by Maxim Filippov's avatar Maxim Filippov 🌚
Browse files


parent ed8a2935
......@@ -802,6 +802,7 @@ def search_for_admin(%{
search_query = from(u in maybe_local_query, where: ilike(u.nickname, ^"%#{term}%"))
count = search_query |> Repo.aggregate(:count, :id)
results =
|> paginate(page, page_size)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment