超级管理员的课堂列表的搜索修改

This commit is contained in:
cxt 2017-09-12 16:31:56 +08:00
parent 7df093acd7
commit d458bca09c
1 changed files with 1 additions and 1 deletions

View File

@ -678,7 +678,7 @@ end
@courses = @courses.where(:homepage_show => params[:homepage_show].to_i)
end
if params[:course_list]
if params[:course_list] && params[:course_list] != ''
@courses = @courses.where(:course_list_id => courselist)
end
if params[:status] && params[:status]!=''