-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to sort ArrayController by computed property in itemController #4308
Comments
@hjdivad we really need to port sortable stuff to array computed... |
@Gaurav0 you can use Ember.computed.sort if you want to sort by properties of itemController. |
@stefanpenner would love to. It's blocked on #4185 in order to support full backwards compatibility. |
And #4185 is blocked on a decision from core on what to do for backwards compat of existing core macros. |
@LevelbossMike thanks for the jsbin ^_^ |
@wagenet yeah, need to just do this manually in |
Em.computed.sort will cause a index out of range error at resort ref: #4831 |
See #5267 |
Currently, if sortProperties includes a computed property on itemController, that property is not found. You can only sort on properties of the original model.
The text was updated successfully, but these errors were encountered: