From 4f6bdf82bd020d966714f8aba451781072a13d47 Mon Sep 17 00:00:00 2001 From: qw3rty Date: Wed, 16 Jun 2010 16:31:28 +0000 Subject: [PATCH] OSQA-263 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum/views/readers.py b/forum/views/readers.py index 178848b..d988230 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -45,8 +45,8 @@ ANSWERS_PAGE_SIZE = 10 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): -- 2.39.5