about summary refs log tree commit diff
path: root/app/controllers/admin
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-06 16:23:57 +0100
committerGitHub <noreply@github.com>2022-02-06 16:23:57 +0100
commitb1983623aec8e0b066d115736d2151e0c74407fa (patch)
tree45ef2112a99163aba4a2f65c02ec1c7604b249a3 /app/controllers/admin
parent24d1ddcc24996d0b9de11fa725f0e15c78d59fba (diff)
parentaa832d623ac0812a970ea90440c50fca9a7bb616 (diff)
Merge pull request #1679 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/admin')
-rw-r--r--app/controllers/admin/relationships_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin/relationships_controller.rb b/app/controllers/admin/relationships_controller.rb
index f8a95cfc8..085ded21c 100644
--- a/app/controllers/admin/relationships_controller.rb
+++ b/app/controllers/admin/relationships_controller.rb
@@ -9,7 +9,8 @@ module Admin
     def index
       authorize :account, :index?
 
-      @accounts = RelationshipFilter.new(@account, filter_params).results.page(params[:page]).per(PER_PAGE)
+      @accounts = RelationshipFilter.new(@account, filter_params).results.includes(:account_stat, user: [:ips, :invite_request]).page(params[:page]).per(PER_PAGE)
+      @form     = Form::AccountBatch.new
     end
 
     private