Commit 37d4476a307273859faeeba5ada300ebead76200

Authored by Victor Costa
1 parent 33137f16

Fix the order of blog posts

src/app/components/noosfero-articles/blog/blog.html
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 </div> 8 </div>
9 9
10 <div> 10 <div>
11 - <div ng-repeat="child in vm.article.children"> 11 + <div ng-repeat="child in vm.article.children | orderBy: 'created_at':true">
12 <div class="page-header"> 12 <div class="page-header">
13 <a ng-href="/{{vm.profile.identifier}}/{{child.path}}"><h4 ng-bind="child.title"></h4></a> 13 <a ng-href="/{{vm.profile.identifier}}/{{child.path}}"><h4 ng-bind="child.title"></h4></a>
14 <div ng-bind-html="child.body | limitTo: 500"></div> 14 <div ng-bind-html="child.body | limitTo: 500"></div>