-
-
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
Ember.computed.sort doesn't update when live RecordArray updates. #12516
Comments
I think this is the same as #12475 |
@bravo585 would you be able to create an example using jsbin, jsfiddle, or ember-twiddle? Perhaps instead of store.filter return a promise with the content as a RecordArray |
Actually this might be related to #12212 since it happened after upgrading to 2.x. Is your If it is related to #12212 ... you could try using my addon ember-computed-sortby. |
Resolves a regression in `Ember.computed.sort` that has existed since 2.0.0. The regression occurred when there were multiple instances of a class using `Ember.computed.sort` and caused the sorted value to stop updating. Closes emberjs#12212. Closes emberjs#12215. Closes emberjs#12221. Closes emberjs#12516.
Resolves a regression in `Ember.computed.sort` that has existed since 2.0.0. The regression occurred when there were multiple instances of a class using `Ember.computed.sort` and caused the sorted value to stop updating. Closes #12212. Closes #12215. Closes #12221. Closes #12516. (cherry picked from commit f05bd2d)
I just upgraded from Ember 1.13 to Ember 2.1. I noticed Ember.computed.sort no longer updates if a live RecordArray updates.
For example, if I have:
And I print out:
If I add a new user, the users list will update, but the usersSorted list will not.
The text was updated successfully, but these errors were encountered: