diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-30 07:41:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-30 07:41:16 +0200 |
commit | 987190417228bb56041ea824772341f07f4263d6 (patch) | |
tree | a5619e3af1fee7d8d841015de5f530a04373b363 /app/controllers | |
parent | 7235f538c6b6f6ddcbc9c35af16e96f266485712 (diff) |
Change layout of public profile directory to be the same as in web UI (#11705)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/directories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/directories_controller.rb b/app/controllers/directories_controller.rb index 7244f02f0..7da975a23 100644 --- a/app/controllers/directories_controller.rb +++ b/app/controllers/directories_controller.rb @@ -28,7 +28,7 @@ class DirectoriesController < ApplicationController end def set_accounts - @accounts = Account.local.discoverable.by_recent_status.page(params[:page]).per(15).tap do |query| + @accounts = Account.local.discoverable.by_recent_status.page(params[:page]).per(20).tap do |query| query.merge!(Account.tagged_with(@tag.id)) if @tag query.merge!(Account.not_excluded_by_account(current_account)) if current_account end |