Skip to content
Snippets Groups Projects
Unverified Commit 59e33338 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Show 40 profiles per directory page instead of 30 (#9609)

To better align with the list of hashtags
parent 3c033c43
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ class DirectoriesController < ApplicationController
end
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
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment