logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 7e889786b82b1b988cf6b8c572ac2b0d8de900d2
parent: 6fb67b74dac789654cbaaef4b6969017f5d985ed
Author: lambda <lain@soykaf.club>
Date:   Wed, 29 May 2019 14:25:53 +0000

Merge branch 'fix/mastodon-search-limit' into 'develop'

Default search limit should be 40

See merge request pleroma/pleroma!1210

Diffstat:

Mlib/pleroma/web/mastodon_api/mastodon_api_controller.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 =