Fix sort function: title is a string now
This commit is contained in:
parent
6ded3e1f4e
commit
a59130633e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export default Ember.Controller.extend({
|
|||
|
||||
// days should be sorted to get them in correct order
|
||||
options.sort(function(a, b){
|
||||
return a.title - b.title;
|
||||
return a.title > b.title;
|
||||
});
|
||||
}
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue