超级管理员的课堂列表的搜索修改
This commit is contained in:
parent
7df093acd7
commit
d458bca09c
|
|
@ -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]!=''
|
||||
|
|
|
|||
Loading…
Reference in New Issue