Commit ed49a7e7 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Merge branch 'dev'

parents b37f46b8 40d973b2
...@@ -65,6 +65,8 @@ def index(request, *args, **kwargs): ...@@ -65,6 +65,8 @@ def index(request, *args, **kwargs):
else: else:
return redirect( 'filter', section ) return redirect( 'filter', section )
else: else:
if sort is None:
return redirect( '/' )
return redirect( 'sort', sort ) return redirect( 'sort', sort )
else: else:
form = CourseSectionFilterForm() 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