app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-0.9.69 vs app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-0.9.70
- old
+ new
@@ -36,9 +36,10 @@
json.wechat d.wechat
json.created_at d.created_at.to_s(:date)
json.teacher_assist d.teacher_assign_follows.map{|t| t.staff.user.real_name}.join(',')
teacher_follows_count += d.teacher_follows_count
courses_counts += d.courses_count
+ json.realname d.realname
end
end
json.totalRow do
json.teacher_follows_count teacher_follows_count.to_s
\ No newline at end of file