mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Show 40 profiles per directory page instead of 30 (#9609)
To better align with the list of hashtags
This commit is contained in:
@@ -32,7 +32,7 @@ class DirectoriesController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def set_accounts
|
def set_accounts
|
||||||
@accounts = Account.discoverable.page(params[:page]).per(30).tap do |query|
|
@accounts = Account.discoverable.page(params[:page]).per(40).tap do |query|
|
||||||
query.merge!(Account.tagged_with(@tag.id)) if @tag
|
query.merge!(Account.tagged_with(@tag.id)) if @tag
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user