aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-04-03 15:52:25 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-04-13 11:51:55 +0200
commitdc16c19711d8a5863c37bb60d73eb10071d638a4 (patch)
treecdacbed1ab18b596a411c5e822fb6de3f055a9d9 /server/sonar-web/src/main/js/apps
parent5af3c50c71a529dffe4298dce18d765d6679bf97 (diff)
downloadsonarqube-dc16c19711d8a5863c37bb60d73eb10071d638a4.tar.gz
sonarqube-dc16c19711d8a5863c37bb60d73eb10071d638a4.zip
SONAR-9016 Use 'Paging' in api/user_groups/search WS
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r--server/sonar-web/src/main/js/apps/groups/groups.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/groups/groups.js b/server/sonar-web/src/main/js/apps/groups/groups.js
index e21b53ec6af..8cfd82d3512 100644
--- a/server/sonar-web/src/main/js/apps/groups/groups.js
+++ b/server/sonar-web/src/main/js/apps/groups/groups.js
@@ -32,9 +32,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.groups;
},