From: Egor Kislitsyn Date: Wed, 12 Jun 2019 09:22:56 +0000 (+0700) Subject: Remove search result order for non-RUM indexes X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=817c66bc3ecf26596cbbc6086a9dc9b95b88fc0a;p=akkoma Remove search result order for non-RUM indexes --- diff --git a/lib/pleroma/activity/search.ex b/lib/pleroma/activity/search.ex index 8cbb64cc4..0aa2aab23 100644 --- a/lib/pleroma/activity/search.ex +++ b/lib/pleroma/activity/search.ex @@ -39,8 +39,7 @@ defmodule Pleroma.Activity.Search do "to_tsvector('english', ?->>'content') @@ plainto_tsquery('english', ?)", o.data, ^search_query - ), - order_by: [desc: :id] + ) ) end