From: Julien Lancelot Date: Tue, 25 Feb 2014 14:13:44 +0000 (+0100) Subject: Add formatted total value in issues search WS X-Git-Tag: 4.3~727 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=50f00f3b62f162045681fd1f0c1b637d840fd80b;p=sonarqube.git Add formatted total value in issues search WS --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb index 9e1ec45a97e..2df0551a2e5 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb @@ -352,6 +352,7 @@ class Api::IssuesController < Api::ApiController :pageIndex => paging.pageIndex, :pageSize => paging.pageSize, :total => paging.total, + :fTotal => ActionController::Base.helpers.number_with_precision(paging.total, :precision => 0), :pages => paging.pages } end