Skip to content

Commit

Permalink
tagcloud is now ordered alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen committed Sep 5, 2010
1 parent c93a0e5 commit a216435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* write simblin blog post and finish about/projects/impressum
* get community feedback
* submit: http://flask.poweredsites.org/ or http://flask.pocoo.org/community/poweredby/
* When previewing an existing Page, show the date of the page, not just now()!
* be able to rename categories
* feeds
* Refactor(pyflakes/epydoc)/Tests/Document/Readme/Changelog
Expand Down
2 changes: 1 addition & 1 deletion simblin/views/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def show_archives():
latest = Post.query
latest = latest.order_by(Post.id.desc()).limit(10)
months = Post.query.get_months()
tags = Tag.query.all()
tags = Tag.query.order_by(Tag.name).all()
#: Needed for calculation of tag cloud
max_count = Tag.query.get_maxcount()
categories = sorted(Category.query.all(), key=lambda x: -x.post_count)
Expand Down

0 comments on commit a216435

Please sign in to comment.