X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/5e255e92892d7242a0eed4ecddc89d6aadec7d88..cf4c6f115a98cb8574c9665f34a50ae503a57b79:/forum/views/readers.py diff --git a/forum/views/readers.py b/forum/views/readers.py index 4fbc6bc..8159902 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -259,7 +259,7 @@ def answer_redirect(request, answer): filter = Q(score__gt=answer.score) | Q(score=answer.score, added_at__lt=answer.added_at) else: raise Http404() - + count = answer.question.answers.filter(Q(marked=True) | filter).count() pagesize = pc.pagesize(request)