diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-04-20 11:06:01 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-04-21 16:01:31 +0200 |
commit | 90613366ab07018248f7c2974367bcb6afd37499 (patch) | |
tree | b7974f270db52cea65e6aa396286c6314686b720 /server/sonar-web/src/main/js/apps/users | |
parent | 7c5b10e2d94f3707418495214300f9e9c3bf11a7 (diff) | |
download | sonarqube-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.js | 6 |
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; }, |