Merge pull request #4202 from iBotPeaches/issue_4198

Sorts PSM authors alphabetically
This commit is contained in:
Jason Williams 2014-09-29 12:32:55 -05:00
commit 57d28ec427

View File

@ -54,7 +54,7 @@ var PostSettingsMenuController = Ember.ObjectController.extend({
var deferred = {};
deferred.promise = this.store.find('user', {limit: 'all'}).then(function (users) {
return users.rejectBy('id', 'me');
return users.rejectBy('id', 'me').sortBy('name');
}).then(function (users) {
return users.filter(function (user) {
return user.get('active');