diff --git a/boards/models/tag.py b/boards/models/tag.py --- a/boards/models/tag.py +++ b/boards/models/tag.py @@ -18,7 +18,7 @@ class TagManager(models.Manager): return self.filter(thread__archived=False)\ .annotate(num_threads=Count('thread')).filter(num_threads__gt=0)\ - .order_by('-required') + .order_by('-required', 'name') class Tag(models.Model, Viewable):