Commit 40d973b2 authored by Jean Michel Rouly's avatar Jean Michel Rouly

Fixed empty course id bug

parent f996c80d
......@@ -65,6 +65,8 @@ def index(request, *args, **kwargs):
else:
return redirect( 'filter', section )
else:
if sort is None:
return redirect( '/' )
return redirect( 'sort', sort )
else:
form = CourseSectionFilterForm()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment