]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5052 remove total results by qualifier from /api/components/suggestions
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 11 Feb 2014 09:32:17 +0000 (10:32 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 11 Feb 2014 09:32:17 +0000 (10:32 +0100)
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/components_controller.rb

index c53a3bb5b34fa59620ce29fa0ac60a9cb833cb6e..aca137ff38c9ad312934c39863c5ddd765950139 100644 (file)
@@ -62,7 +62,6 @@ class Api::ComponentsController < Api::ApiController
       qualifier_results['icon']=resource_type.getIconPath()
       qualifier_results['name']=Api::Utils.message("qualifiers.#{qualifier}")
       resource_indexes=resource_indexes_by_qualifier[qualifier]||[]
-      qualifier_results['total']=resource_indexes.size
       qualifier_results['items']=resource_indexes.map do |resource_index|
         resource=resources_by_id[resource_index.resource_id]
         {