Remove search result order for non-RUM indexes

This commit is contained in:
Egor Kislitsyn 2019-06-12 16:22:56 +07:00
parent 23db6774cf
commit 817c66bc3e

View file

@ -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