diff options
author | lain <lain@soykaf.club> | 2020-11-19 16:29:31 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-19 16:29:31 +0100 |
commit | 8b90d625060ddaa2f04fbc276ee39b532c7082b6 (patch) | |
tree | 6a279541b85ffb05dfad3c789bc0cfcfe8f08807 | |
parent | 2ee0fc194a3118e2b562744cb2854d048c829b1e (diff) | |
download | pleroma-8b90d625060ddaa2f04fbc276ee39b532c7082b6.tar.gz |
Search: Only skip ordering the rum index.
-rw-r--r-- | lib/pleroma/activity/search.ex | 2 |
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) |