X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b080e276fe4c8ae672586db13fa6f0f125dbdf53..4f6bdf82bd020d966714f8aba451781072a13d47:/forum/views/readers.py 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):