Browse Source

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

To better align with the list of hashtags
master
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
59e333385b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/directories_controller.rb

+ 1
- 1
app/controllers/directories_controller.rb View File

@ -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…
Cancel
Save