mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 16:24:23 +00:00
Merge branch 'remove-search-result-order' into 'develop'
Remove search result order for non-RUM indexes Closes #940 See merge request pleroma/pleroma!1273
This commit is contained in:
commit
c5acc023a7
|
@ -39,8 +39,7 @@ defmodule Pleroma.Activity.Search do
|
||||||
"to_tsvector('english', ?->>'content') @@ plainto_tsquery('english', ?)",
|
"to_tsvector('english', ?->>'content') @@ plainto_tsquery('english', ?)",
|
||||||
o.data,
|
o.data,
|
||||||
^search_query
|
^search_query
|
||||||
),
|
)
|
||||||
order_by: [desc: :id]
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue