mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 04:08:34 +03:00
Merge pull request #4202 from iBotPeaches/issue_4198
Sorts PSM authors alphabetically
This commit is contained in:
commit
57d28ec427
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user