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:
lain 2019-06-12 09:51:54 +00:00
commit c5acc023a7
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ defp query_with(q, :gin, search_query) do
"to_tsvector('english', ?->>'content') @@ plainto_tsquery('english', ?)",
o.data,
^search_query
),
order_by: [desc: :id]
)
)
end