]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/views/readers.py
OSQA-263
[osqa.git] / forum / views / readers.py
index 178848bee0085a6bd310ff7d63fd9b7c2d57fbbe..d988230f55d1d50042000c2aa216641c746f8b85 100644 (file)
@@ -45,8 +45,8 @@ ANSWERS_PAGE_SIZE = 10
 def index(request):
     return question_list(request,
                          Question.objects.all(),
 def index(request):
     return question_list(request,
                          Question.objects.all(),
-                         request.utils.set_sort_method('active'),
-                         reverse('questions'))
+                         sort=request.utils.set_sort_method('active'),
+                         base_path=reverse('questions'))
 
 @decorators.render('questions.html', 'unanswered')
 def unanswered(request):
 
 @decorators.render('questions.html', 'unanswered')
 def unanswered(request):