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:
lambda 2019-05-29 14:25:53 +00:00
commit 7e889786b8

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 =