Default search limit should be 40

https://docs.joinmastodon.org/api/rest/search/
This commit is contained in:
Mark Felder 2019-05-29 08:06:26 -05:00
parent 57e58d2602
commit 672fddb721
1 changed files with 1 additions and 1 deletions

View File

@ -1084,7 +1084,7 @@ def status_search(user, query) do
from([a, o] in Activity.with_preloaded_object(Activity),
where: fragment("?->>'type' = 'Create'", a.data),
where: "https://www.w3.org/ns/activitystreams#Public" in a.recipients,
limit: 20
limit: 40
)
q =