From: Mark Felder Date: Wed, 29 May 2019 13:06:26 +0000 (-0500) Subject: Default search limit should be 40 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=672fddb7213b69f3ee8b9a7728426373090847ed;p=akkoma Default search limit should be 40 https://docs.joinmastodon.org/api/rest/search/ --- diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 0fe09c285..2110027c3 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -1084,7 +1084,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController 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 =