diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-10-29 16:40:39 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-10-29 17:41:49 +0100 |
commit | 781bca2437628d2f932abd60c5dcec0ece4504e3 (patch) | |
tree | 9729ae043ff4061570e95f127db82a4197b5ee62 /settings/js | |
parent | 73d9699be9d2a343b0573dc6a5bcc65f5f9c7303 (diff) | |
download | nextcloud-server-781bca2437628d2f932abd60c5dcec0ece4504e3.tar.gz nextcloud-server-781bca2437628d2f932abd60c5dcec0ece4504e3.zip |
Fix everyone count for subadmins
Also moved the logic to the UsersController
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users/groups.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index c8d2ef7c5b1..2639191d918 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -304,10 +304,10 @@ GroupList = { $.ajax({ type: "GET", dataType: "json", - url: OC.generateUrl('/settings/ajax/geteveryonecount') + url: OC.generateUrl('/settings/users/stats') }).success(function (data) { - $('#everyonegroup').data('usercount', data.count); - $('#everyonecount').text(data.count); + $('#everyonegroup').data('usercount', data.totalUsers); + $('#everyonecount').text(data.totalUsers); }); } }; |