]> source.dussan.org Git - sonarqube.git/commitdiff
Add formatted total value in issues search WS
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 25 Feb 2014 14:13:44 +0000 (15:13 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 25 Feb 2014 14:13:44 +0000 (15:13 +0100)
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/issues_controller.rb

index 9e1ec45a97ee0ca90a88a813eec483021d14606c..2df0551a2e5ffea3a193899d5e447111413b9d9f 100644 (file)
@@ -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