Skip to content
Snippets Groups Projects
Commit 7ac9fff4 authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Format

parent ed8a2935
Branches
Tags
No related merge requests found
......@@ -802,6 +802,7 @@ defmodule Pleroma.User do
search_query = from(u in maybe_local_query, where: ilike(u.nickname, ^"%#{term}%"))
count = search_query |> Repo.aggregate(:count, :id)
results =
search_query
|> paginate(page, page_size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment