From 781bca2437628d2f932abd60c5dcec0ece4504e3 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 29 Oct 2015 16:40:39 +0100 Subject: Fix everyone count for subadmins Also moved the logic to the UsersController --- settings/js/users/groups.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'settings/js') 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); }); } }; -- cgit v1.2.3