]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-263
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 16 Jun 2010 16:31:28 +0000 (16:31 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 16 Jun 2010 16:31:28 +0000 (16:31 +0000)
put back the the naming of the variables in the calls to question_list in the index function.

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@433 0cfe37f9-358a-4d5e-be75-b63607b5c754

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):