diff options
author | lain <lain@soykaf.club> | 2020-11-19 16:29:31 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-12-22 21:03:19 +0100 |
commit | 29c3c35ba1affa7e2b9b92e5798368724cc3b0f0 (patch) | |
tree | 6ef8648b460f697563751fa0e66cb4f8e6094133 | |
parent | 3388bf9c9b4d200e7fca6c8bcc5edd79bfa3b73d (diff) | |
download | pleroma-29c3c35ba1affa7e2b9b92e5798368724cc3b0f0.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) |