Show More
@@ -66,7 +66,7 class ChangesetController(BaseRepoContro | |||||
66 |
|
66 | |||
67 | #get ranges of revisions if preset |
|
67 | #get ranges of revisions if preset | |
68 | rev_range = revision.split('...')[:2] |
|
68 | rev_range = revision.split('...')[:2] | |
69 | range_limit = 50 |
|
69 | ||
70 | try: |
|
70 | try: | |
71 | if len(rev_range) == 2: |
|
71 | if len(rev_range) == 2: | |
72 | rev_start = rev_range[0] |
|
72 | rev_start = rev_range[0] |
@@ -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 |
|
|
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