From: hernani Date: Fri, 16 Apr 2010 23:26:44 +0000 (+0000) Subject: switch to a default sort of active, and "pushed" the active tab to the beggining X-Git-Tag: live~1031 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/c33e4ebdf5f88e91946e0f643ef63e3394ea5dfc switch to a default sort of active, and "pushed" the active tab to the beggining git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@43 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/question_list/sort_tabs.html b/forum/skins/default/templates/question_list/sort_tabs.html index b8f714d..b170549 100644 --- a/forum/skins/default/templates/question_list/sort_tabs.html +++ b/forum/skins/default/templates/question_list/sort_tabs.html @@ -1,8 +1,8 @@ {% load i18n %}
- {% trans "newest" %} {% trans "active" %} + {% trans "newest" %} {% trans "hottest" %} {% trans "most voted" %}
\ No newline at end of file diff --git a/forum/views/readers.py b/forum/views/readers.py index b260343..afe24bb 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -56,7 +56,7 @@ def _get_tags_cache_json():#service routine used by views requiring tag list in @decorators.render('index.html') def index(request): - return question_list(request, Question.objects.all(), sort='latest', base_path=reverse('questions')) + return question_list(request, Question.objects.all(), sort='active', base_path=reverse('questions')) @decorators.render('questions.html', 'unanswered') def unanswered(request):