Ghost/ghost/admin/app/models
Kevin Ansfield a109c1c3db Use Ember.Comparable mixin to sort posts
closes https://github.com/TryGhost/Ghost/issues/7002
- move sorting logic out of the controller and into the Post model

This is a quick attempt at implementing the refactoring referenced in https://github.com/TryGhost/Ghost/issues/7002. The client-side sorting is working but we still have the problem of scheduled posts not appearing in the list until you scroll to the very first published post because the server is returning posts in the wrong order.
2016-06-17 11:33:11 +01:00
..
navigation-item.js deps: grunt-jscs,ember-suave@3.0.0 2016-06-11 13:39:31 -06:00
notification.js deps: ember-data@2.3.2 2016-01-19 14:36:39 +00:00
post.js Use Ember.Comparable mixin to sort posts 2016-06-17 11:33:11 +01:00
role.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
setting.js Add UTC timezone as default in settings model 2016-06-11 12:24:04 +02:00
slack-integration.js deps: grunt-jscs,ember-suave@3.0.0 2016-06-11 13:39:31 -06:00
subscriber.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
tag.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00
user.js Renaming date properties to contain UTC 2016-06-17 11:09:21 +02:00