X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/35ebbd77a68be7cb9b774756c24557c1349d9ac9..d7f894f3ccc0e38eef311f328fb8b3df357ea017:/forum/views/readers.py diff --git a/forum/views/readers.py b/forum/views/readers.py index 42950a9..e6afdfe 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -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: