##// END OF EJS Templates
Fixed tag ordering that was broken with latest change
neko259 -
r929:1ad4b54e default
parent child Browse files
Show More
@@ -17,7 +17,8 b' class TagManager(models.Manager):'
17 """
17 """
18
18
19 return self.filter(thread__archived=False)\
19 return self.filter(thread__archived=False)\
20 .annotate(num_threads=Count('thread')).filter(num_threads__gt=0)
20 .annotate(num_threads=Count('thread')).filter(num_threads__gt=0)\
21 .order_by('-required')
21
22
22
23
23 class Tag(models.Model, Viewable):
24 class Tag(models.Model, Viewable):
General Comments 0
You need to be logged in to leave comments. Login now