commit: 8b90d625060ddaa2f04fbc276ee39b532c7082b6
parent 2ee0fc194a3118e2b562744cb2854d048c829b1e
Author: lain <lain@soykaf.club>
Date: Thu, 19 Nov 2020 16:29:31 +0100
Search: Only skip ordering the rum index.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/activity/search.ex b/lib/pleroma/activity/search.ex
@@ -28,7 +28,7 @@ defmodule Pleroma.Activity.Search do
|> maybe_restrict_author(author)
|> maybe_restrict_blocked(user)
|> Pagination.fetch_paginated(
- %{"offset" => offset, "limit" => limit, "skip_order" => true},
+ %{"offset" => offset, "limit" => limit, "skip_order" => index_type == :rum},
:offset
)
|> maybe_fetch(user, search_query)