Reverse order of blog posts on blog dashboard.
authorAditi <aditi.iitr@gmail.com>
Tue, 30 Jul 2013 13:28:17 +0000 (18:58 +0530)
committerAditi <aditi.iitr@gmail.com>
Tue, 30 Jul 2013 13:28:17 +0000 (18:58 +0530)
mediagoblin/media_types/blog/views.py

index 80b64798d078555889554cc1f56452e5c1bc416e..7ab468923d49eee9eed5a9dab7c848b7e4500128 100644 (file)
@@ -224,6 +224,7 @@ def blog_dashboard(request):
         blog_post = each_blog_post_data.get_media_entry
         if blog_post:
             blog_posts_list.append(blog_post)
+    blog_posts_list.reverse()
     blog_post_count = len(blog_posts_list)
 
     if may_edit_blogpost(request, blog):