diff --git a/boards/models/tag.py b/boards/models/tag.py --- a/boards/models/tag.py +++ b/boards/models/tag.py @@ -16,7 +16,8 @@ class TagManager(models.Manager): def get_not_empty_tags(self): tags = self.annotate(Count('threads')) \ - .filter(threads__count__gt=0).order_by('name') + .filter(threads__count__gt=0).filter(threads__archived=False) \ + .order_by('name') return tags