Skip to content
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

Revert "[BUGFIX canary] Update Ember.compare to use operators" #13036

Merged
merged 1 commit into from
Mar 2, 2016

Conversation

krisselden
Copy link
Contributor

It is a breaking change to make compare be locale invariant from using the default locale and many locales do not default to being case sensitive for sorting. Non localizable data like sorting ids needs an invariant compare and yes that is a valid use case but I don't see how we could switch this now, collation affects not just case sensitivity but accent sensitivity and more. This change makes it compare character code values, which is fine for locale invariant data like base64 encoded ids but not necessarily ok for names.

@rwjblue
Copy link
Member

rwjblue commented Mar 2, 2016

Thanks for catching this @krisselden!

rwjblue added a commit that referenced this pull request Mar 2, 2016
…r-compare

Revert "[BUGFIX canary] Update Ember.compare to use operators"
@rwjblue rwjblue merged commit 9578667 into master Mar 2, 2016
@rwjblue rwjblue deleted the revert-13007-11252-update-ember-compare branch March 2, 2016 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants