fix branches sorting order
This commit is contained in:
parent
e80f399e83
commit
fbd7305252
|
@ -16,7 +16,7 @@ BranchesController = Ember.Controller.extend
|
||||||
repos = @get('model')
|
repos = @get('model')
|
||||||
repos = repos.filter (item, index) ->
|
repos = repos.filter (item, index) ->
|
||||||
item if item.exists_on_github == true && item.default_branch == false
|
item if item.exists_on_github == true && item.default_branch == false
|
||||||
.sortBy('default_branch.last_build.finished_at')
|
.sortBy('last_build.finished_at')
|
||||||
.reverse()
|
.reverse()
|
||||||
).property('model')
|
).property('model')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user