TryGhost/Ghost — pull request #3144 by darvelo (2014-06-28 03:53:44+00:00)
Title: New posts pass PostsController sorting function at the top

Following on #3008, it seems the PostsController tries to sort the newly-created post model when the user goes to the `edit.new` route. This model doesn't have `updated_at` or `published_at` dates, and so will not otherwise pass the sorting function.