Show 40 profiles per directory page instead of 30 (#9609)
To better align with the list of hashtagslolsob-rspec
parent
2e0d617b8b
commit
5fdfe0c4cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue