diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index 5e465ece..6bcf7c8e 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -848,7 +848,8 @@ class ManagementsController < ApplicationController @evaluate_recods_count = @evaluate_recods.count @evaluate_recods_pages = Paginator.new @evaluate_recods_count, limit, page - @evaluate_recods = @evaluate_recods.includes(:shixun, :user).page(page).per(limit) + @evaluate_recods = @evaluate_recods.page(page).per(limit) + @evaluate_recods = @evaluate_recods.includes(:shixun, :user) respond_to do |format| format.js format.html