Show More
@@ -16,7 +16,8 b' class TagManager(models.Manager):' | |||
|
16 | 16 | |
|
17 | 17 | def get_not_empty_tags(self): |
|
18 | 18 | tags = self.annotate(Count('threads')) \ |
|
19 |
.filter(threads__count__gt=0). |
|
|
19 | .filter(threads__count__gt=0).filter(threads__archived=False) \ | |
|
20 | .order_by('name') | |
|
20 | 21 | |
|
21 | 22 | return tags |
|
22 | 23 |
General Comments 0
You need to be logged in to leave comments.
Login now