0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00

Show all authors in post settings menu

Closes #4016
- Added 'limit=all' to API query to retrieve all users.
This commit is contained in:
Sarah 2014-09-22 11:30:00 -04:00
parent 334a8db199
commit e635aaf116

View file

@ -52,7 +52,7 @@ var PostSettingsMenuController = Ember.ObjectController.extend({
//Loaded asynchronously, so must use promise proxies.
var deferred = {};
deferred.promise = this.store.find('user').then(function (users) {
deferred.promise = this.store.find('user', {limit: 'all'}).then(function (users) {
return users.rejectBy('id', 'me');
}).then(function (users) {
return users.filter(function (user) {