dev_SaaS
cxt 6 years ago
parent 1208818c9d
commit a3caf72e24

@ -843,7 +843,7 @@ class ManagementsController < ApplicationController
# @evaluate_recods = EvaluateRecord.where(user_id: UserExtensions.where(school_id: School.where("name like '%#{search}%'").pluck(:id)).pluck(:user_id)) # @evaluate_recods = EvaluateRecord.where(user_id: UserExtensions.where(school_id: School.where("name like '%#{search}%'").pluck(:id)).pluck(:user_id))
end end
else else
@evaluate_recods = EvaluateRecord.all @evaluate_recods = EvaluateRecord.where("0=0")
end end
@evaluate_recods_count = @evaluate_recods.count @evaluate_recods_count = @evaluate_recods.count

Loading…
Cancel
Save