Repository navigation
Conversation
|
@sly7-7 So what do you want to add to make this complete? |
There was a problem hiding this comment.
@wagenet Perhaps I would add the current sortProperty (or its type) as a third argument, in order to make the implementation easier.
The other way could be to have a sort function by sort property. I don't know what way would be better, or if it good enough like this. Your advices would be welcome :)
|
Hmm, sorry, I just begin to use git/github, and I've probably made something wrong when I wanted to update against upstream/master... If necessary, I will create again the branch and post a new PR. |
|
For PRs, it's best to do a |
|
Thanks for the tip :) Now two things: Do I close this PR and create an other one ? For the functional parts, it seems that I'm the only one who needs this kind of stuff. So perhaps it's simply not usefull and have to make this stuff only in our app. |
|
@sly7-7 I think this could still be useful. If you do the rebase as I suggested earlier then you can still fix this branch. |
|
Ok, no problem, I will cleanup the branch, and perhaps define a new api for this feature. |
|
I apologize, seems wrong. I will close this PR, delete the branch, create a new one, and create a new PR. |
The default sorting algorithm used in the Routable mixin (based on Ember.compare) was not satisfying in our case.
For example we want 'a' to appear before 'B' (in ascending order)
I think this PR is not complete as we have to handle each type of sortProperties.