aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-04-20 11:06:01 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-04-21 16:01:31 +0200
commit90613366ab07018248f7c2974367bcb6afd37499 (patch)
treeb7974f270db52cea65e6aa396286c6314686b720 /server/sonar-web/src/main/js/apps/users
parent7c5b10e2d94f3707418495214300f9e9c3bf11a7 (diff)
downloadsonarqube-90613366ab07018248f7c2974367bcb6afd37499.tar.gz
sonarqube-90613366ab07018248f7c2974367bcb6afd37499.zip
SONAR-9128 Use protobuf in api/users/search
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users')
-rw-r--r--server/sonar-web/src/main/js/apps/users/users.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/users.js b/server/sonar-web/src/main/js/apps/users/users.js
index a2a49dc4510..228d19d73c5 100644
--- a/server/sonar-web/src/main/js/apps/users/users.js
+++ b/server/sonar-web/src/main/js/apps/users/users.js
@@ -28,9 +28,9 @@ export default Backbone.Collection.extend({
},
parse(r) {
- this.total = +r.total;
- this.p = +r.p;
- this.ps = +r.ps;
+ this.total = +r.paging.total;
+ this.p = +r.paging.pageIndex;
+ this.ps = +r.paging.pageSize;
return r.users;
},