mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
Search: Only skip ordering the rum index.
This commit is contained in:
parent
2ee0fc194a
commit
8b90d62506
|
@ -28,7 +28,7 @@ defmodule Pleroma.Activity.Search do
|
||||||
|> maybe_restrict_author(author)
|
|> maybe_restrict_author(author)
|
||||||
|> maybe_restrict_blocked(user)
|
|> maybe_restrict_blocked(user)
|
||||||
|> Pagination.fetch_paginated(
|
|> Pagination.fetch_paginated(
|
||||||
%{"offset" => offset, "limit" => limit, "skip_order" => true},
|
%{"offset" => offset, "limit" => limit, "skip_order" => index_type == :rum},
|
||||||
:offset
|
:offset
|
||||||
)
|
)
|
||||||
|> maybe_fetch(user, search_query)
|
|> maybe_fetch(user, search_query)
|
||||||
|
|
Loading…
Reference in a new issue