aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-11-19 16:29:31 +0100
committerlain <lain@soykaf.club>2020-11-19 16:29:31 +0100
commit8b90d625060ddaa2f04fbc276ee39b532c7082b6 (patch)
tree6a279541b85ffb05dfad3c789bc0cfcfe8f08807
parent2ee0fc194a3118e2b562744cb2854d048c829b1e (diff)
downloadpleroma-8b90d625060ddaa2f04fbc276ee39b532c7082b6.tar.gz
Search: Only skip ordering the rum index.
-rw-r--r--lib/pleroma/activity/search.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/activity/search.ex b/lib/pleroma/activity/search.ex
index 95ac90acb..382c81118 100644
--- 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)