forked from AkkomaGang/akkoma
Default search limit should be 40
https://docs.joinmastodon.org/api/rest/search/
This commit is contained in:
parent
57e58d2602
commit
672fddb721
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