From 4569af8cd14572fa5a8259ee6b5a99b932e736ff Mon Sep 17 00:00:00 2001 From: p31729568 Date: Wed, 26 Jun 2019 15:16:19 +0800 Subject: [PATCH] fix management user trial list --- app/controllers/managements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index 5382a025..67ea8b57 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -3389,7 +3389,7 @@ end @is_remote = true @users_pages = Paginator.new @users_count, @limit, params['page'] || 1 @offset ||= @users_pages.offset - @users = paginateHelper users.includes(:real_name_authentication_apply, :professional_authentication_apply, + @users = paginateHelper users.preload(:real_name_authentication_apply, :professional_authentication_apply, user_extensions: [:department, :school]), @limit respond_to do |format|