Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into websearch
This commit is contained in:
commit
5e04f4156c
7 changed files with 63 additions and 6 deletions
|
|
@ -29,7 +29,10 @@ defmodule Pleroma.Activity.Search do
|
|||
|> maybe_restrict_local(user)
|
||||
|> maybe_restrict_author(author)
|
||||
|> maybe_restrict_blocked(user)
|
||||
|> Pagination.fetch_paginated(%{"offset" => offset, "limit" => limit}, :offset)
|
||||
|> Pagination.fetch_paginated(
|
||||
%{"offset" => offset, "limit" => limit, "skip_order" => index_type == :rum},
|
||||
:offset
|
||||
)
|
||||
|> maybe_fetch(user, search_query)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue