projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3388bf9
)
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>
Tue, 22 Dec 2020 20:03:19 +0000
(21:03 +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)