mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 20:43:01 +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 = {};
|
var deferred = {};
|
||||||
|
|
||||||
deferred.promise = this.store.find('user', {limit: 'all'}).then(function (users) {
|
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) {
|
}).then(function (users) {
|
||||||
return users.filter(function (user) {
|
return users.filter(function (user) {
|
||||||
return user.get('active');
|
return user.get('active');
|
||||||
|
Loading…
Reference in New Issue
Block a user