From: Maxim Filippov Date: Tue, 19 Mar 2019 22:40:50 +0000 (+0300) Subject: Format X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7ac9fff437a2aee3403a769b6cdfb3533771b03e;p=akkoma Format --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index bf84eaf7f..c1aebfc29 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -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)