##// END OF EJS Templates
Removed tags with only archived threads from all tags list
neko259 -
r610:11dde21a default
parent child Browse files
Show More
@@ -16,7 +16,8 b' class TagManager(models.Manager):'
16
16
17 def get_not_empty_tags(self):
17 def get_not_empty_tags(self):
18 tags = self.annotate(Count('threads')) \
18 tags = self.annotate(Count('threads')) \
19 .filter(threads__count__gt=0).order_by('name')
19 .filter(threads__count__gt=0).filter(threads__archived=False) \
20 .order_by('name')
20
21
21 return tags
22 return tags
22
23
General Comments 0
You need to be logged in to leave comments. Login now