小班导出列表500BUG
This commit is contained in:
parent
992f8f5f75
commit
5811f3944e
|
@ -473,7 +473,7 @@ class CoursesController < ApplicationController
|
||||||
if params[:group_id]
|
if params[:group_id]
|
||||||
group = CourseGroup.find params[:group_id]
|
group = CourseGroup.find params[:group_id]
|
||||||
unless group.nil?
|
unless group.nil?
|
||||||
@all_members = student_homework_score(@group.id,0,0,"desc")
|
@all_members = student_homework_score(group.id,0,0,"desc")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@all_members = student_homework_score(0,0,0,"desc")
|
@all_members = student_homework_score(0,0,0,"desc")
|
||||||
|
|
Loading…
Reference in New Issue