Browse files

Latest sort was backwards

  • Loading branch information...
1 parent c74c153 commit 35c0b37089eee960826303e1eb4a0a07fb508a3b @craveytrain committed Oct 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 models/post.js
View
2 models/post.js
@@ -23,7 +23,7 @@ function postsByLatest (taxonomyPosts) {
var posts = getPosts(taxonomyPosts);
return posts.sort(function(a, b) {
- return a.date - b.date;
+ return b.date - a.date;
});
}

0 comments on commit 35c0b37

Please sign in to comment.