logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 29c3c35ba1affa7e2b9b92e5798368724cc3b0f0
parent 3388bf9c9b4d200e7fca6c8bcc5edd79bfa3b73d
Author: lain <lain@soykaf.club>
Date:   Thu, 19 Nov 2020 16:29:31 +0100

Search: Only skip ordering the rum index.

Diffstat:

Mlib/pleroma/activity/search.ex2+-
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)