projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23db677
)
Remove search result order for non-RUM indexes
author
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 12 Jun 2019 09:22:56 +0000
(16:22 +0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 12 Jun 2019 09:22:56 +0000
(16:22 +0700)
lib/pleroma/activity/search.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/activity/search.ex
b/lib/pleroma/activity/search.ex
index 8cbb64cc4ea052bd5cc2c8235c179a9249d7b608..0aa2aab23dded19cf9426ed6e8e3b2a7b51a3d01 100644
(file)
--- 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