Commit 37d4476a307273859faeeba5ada300ebead76200
1 parent
33137f16
Exists in
master
and in
38 other branches
Fix the order of blog posts
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/components/noosfero-articles/blog/blog.html
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | </div> |
9 | 9 | |
10 | 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 | 12 | <div class="page-header"> |
13 | 13 | <a ng-href="/{{vm.profile.identifier}}/{{child.path}}"><h4 ng-bind="child.title"></h4></a> |
14 | 14 | <div ng-bind-html="child.body | limitTo: 500"></div> | ... | ... |