forked from AkkomaGang/akkoma
Merge branch 'fix/mastodon-search-limit' into 'develop'
Default search limit should be 40 See merge request pleroma/pleroma!1210
This commit is contained in:
commit
7e889786b8
1 changed files with 1 additions and 1 deletions
|
@ -1084,7 +1084,7 @@ def status_search(user, query) do
|
||||||
from([a, o] in Activity.with_preloaded_object(Activity),
|
from([a, o] in Activity.with_preloaded_object(Activity),
|
||||||
where: fragment("?->>'type' = 'Create'", a.data),
|
where: fragment("?->>'type' = 'Create'", a.data),
|
||||||
where: "https://www.w3.org/ns/activitystreams#Public" in a.recipients,
|
where: "https://www.w3.org/ns/activitystreams#Public" in a.recipients,
|
||||||
limit: 20
|
limit: 40
|
||||||
)
|
)
|
||||||
|
|
||||||
q =
|
q =
|
||||||
|
|
Loading…
Reference in a new issue