mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Merge pull request #4202 from iBotPeaches/issue_4198
Sorts PSM authors alphabetically
This commit is contained in:
commit
57d28ec427
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue