diff --git a/ghost/admin/router.js b/ghost/admin/router.js index b58c2454a8..1293247b33 100644 --- a/ghost/admin/router.js +++ b/ghost/admin/router.js @@ -36,7 +36,7 @@ blog: function () { var posts = new Ghost.Collections.Posts(); NProgress.start(); - posts.fetch({ data: { status: 'all', orderBy: ['updated_at', 'DESC'], where: { page: 'all' } } }).then(function () { + posts.fetch({ data: { status: 'all', staticPages: 'all'} }).then(function () { Ghost.currentView = new Ghost.Views.Blog({ el: '#main', collection: posts }); NProgress.done(); }); diff --git a/ghost/admin/views/blog.js b/ghost/admin/views/blog.js index 9370496191..da0e358fce 100644 --- a/ghost/admin/views/blog.js +++ b/ghost/admin/views/blog.js @@ -94,8 +94,7 @@ data: { status: 'all', page: (self.collection.currentPage + 1), - where: { page: 'all' }, - orderBy: ['updated_at', 'DESC'] + staticPages: 'all' } }).then(function onSuccess(response) { /*jslint unparam:true*/