projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee0fc1
)
Search: Only skip ordering the rum index.
author
lain
<lain@soykaf.club>
Thu, 19 Nov 2020 15:29:31 +0000
(16:29 +0100)
committer
lain
<lain@soykaf.club>
Thu, 19 Nov 2020 15:29:31 +0000
(16:29 +0100)
lib/pleroma/activity/search.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/activity/search.ex
b/lib/pleroma/activity/search.ex
index 95ac90acbe4d1b2a1948215caea747db40996d11..382c81118c964b5ee8448477426d328ffa9f2764 100644
(file)
--- a/
lib/pleroma/activity/search.ex
+++ b/
lib/pleroma/activity/search.ex
@@
-28,7
+28,7
@@
defmodule Pleroma.Activity.Search do
|> maybe_restrict_author(author)
|> maybe_restrict_blocked(user)
|> Pagination.fetch_paginated(
- %{"offset" => offset, "limit" => limit, "skip_order" =>
true
},
+ %{"offset" => offset, "limit" => limit, "skip_order" =>
index_type == :rum
},
:offset
)
|> maybe_fetch(user, search_query)