From 59e333385b4fe975ea9264d9c5bef7791ec1fd3e Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 22 Dec 2018 23:31:23 +0100 Subject: [PATCH] Show 40 profiles per directory page instead of 30 (#9609) To better align with the list of hashtags --- app/controllers/directories_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/directories_controller.rb b/app/controllers/directories_controller.rb index df012657a8d..96fe4c1c6eb 100644 --- a/app/controllers/directories_controller.rb +++ b/app/controllers/directories_controller.rb @@ -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