]> git.openstreetmap.org Git - osqa.git/commitdiff
renamed variable for ignoring tags. This one is better
authorqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 10 May 2010 22:12:45 +0000 (22:12 +0000)
committerqw3rty <qw3rty@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 10 May 2010 22:12:45 +0000 (22:12 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@204 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/views/readers.py

index 42950a977b47a35c45dee6a622be980eedb73576..e6afdfe33a2edff99cd91a7addc6195e1209d6c9 100644 (file)
@@ -62,15 +62,15 @@ def tag(request, tag):
                         'active',
                         None,
                         mark_safe(_('Questions tagged %(tag)s') % {'tag': tag}),
-                        True)
+                        False)
 
 @decorators.list('questions', QUESTIONS_PAGE_SIZE)
-def question_list(request, initial, list_description=_('questions'), sort=None, base_path=None, page_title=None, ignoringTags=False):
+def question_list(request, initial, list_description=_('questions'), sort=None, base_path=None, page_title=None, allowIgnoreTags=True):
     questions = initial.filter(deleted=None, in_moderation=None)
 
     test = request.user.marked_tags
 
-    if request.user.is_authenticated() and  not ignoringTags:
+    if request.user.is_authenticated() and allowIgnoreTags:
         questions = questions.filter(~Q(tags__id__in = request.user.marked_tags.filter(user_selections__reason = 'bad')))
 
     if sort is not False: