Skip to content

Commit

Permalink
#2429: sort tags in tagging comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jun66j5 committed Nov 6, 2013
1 parent 33babfb commit 58bf794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tractags/wiki.py
Expand Up @@ -118,8 +118,8 @@ def post_process_request(self, req, template, data, content_type):
tags_history[0][0] > page_history[i]['date']:
old_tags = split_into_tags(tags_history[0][2] or '')
new_tags = split_into_tags(tags_history[0][3] or '')
added = new_tags - old_tags
removed = old_tags - new_tags
added = sorted(new_tags - old_tags)
removed = sorted(old_tags - new_tags)
comment = tag(tag.strong(_("Tags")), ' ')
if added:
comment.append(tag_(ngettext("%(tags)s added",
Expand Down

1 comment on commit 58bf794

@hasienda
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine for me.

Please sign in to comment.