# HG changeset patch # User neko259 # Date 2013-04-13 19:19:14 # Node ID 8db8d0b749db0eb470b27f4a8c3e014178bdea16 # Parent 45bad15a759576c9c024456e03d23b2b1ffae679 Sort threads by name. Previous commit: added navigation panel, added tag manager to get active tags. diff --git a/boards/models.py b/boards/models.py --- a/boards/models.py +++ b/boards/models.py @@ -107,7 +107,7 @@ class PostManager(models.Manager): class TagManager(models.Manager): def get_not_empty_tags(self): - all_tags = self.all() + all_tags = self.all().order_by('name') tags = [] for tag in all_tags: if not tag.is_empty():