##// END OF EJS Templates
merge with sorted tags
marcink -
r1131:461f5acc merge beta
parent child Browse files
Show More
@@ -44,7 +44,11 class TagsController(BaseRepoController)
44
44
45 def index(self):
45 def index(self):
46 c.repo_tags = OrderedDict()
46 c.repo_tags = OrderedDict()
47 for name, hash_ in c.rhodecode_repo.tags.items():
47
48 c.repo_tags[name] = c.rhodecode_repo.get_changeset(hash_)
48 tags = [(name, c.rhodecode_repo.get_changeset(hash_)) for \
49 name, hash_ in c.rhodecode_repo.tags.items()]
50 ordered_tags = sorted(tags, key=lambda x:x[1].date, reverse=True)
51 for name, cs_tag in ordered_tags:
52 c.repo_tags[name] = cs_tag
49
53
50 return render('tags/tags.html')
54 return render('tags/tags.html')
General Comments 0
You need to be logged in to leave comments. Login now