From fbd7305252f1911b642a37b49a13ec125a18c6f6 Mon Sep 17 00:00:00 2001 From: Lisa P Date: Wed, 28 Oct 2015 13:21:16 +0100 Subject: [PATCH] fix branches sorting order --- app/controllers/branches.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/branches.coffee b/app/controllers/branches.coffee index 00fc8a80..5d977e86 100644 --- a/app/controllers/branches.coffee +++ b/app/controllers/branches.coffee @@ -16,7 +16,7 @@ BranchesController = Ember.Controller.extend repos = @get('model') repos = repos.filter (item, index) -> item if item.exists_on_github == true && item.default_branch == false - .sortBy('default_branch.last_build.finished_at') + .sortBy('last_build.finished_at') .reverse() ).property('model')