summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-04-29 14:24:09 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-04-29 14:24:45 +0200
commit74bb2234bbbd403d33ac4b4691190aa800f60ac2 (patch)
treee2878c6eaa57f43ec5b5c56601ea975552fd4d34
parent569c13f5721ff8b0dbaf2597141a002a0eeebab1 (diff)
downloadsonarqube-74bb2234bbbd403d33ac4b4691190aa800f60ac2.tar.gz
sonarqube-74bb2234bbbd403d33ac4b4691190aa800f60ac2.zip
SONAR-5249 Fix issue with loading of measure data
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/api/resources_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/resources_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/resources_controller.rb
index b05b65e6cff..92ff867d2ba 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/resources_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/resources_controller.rb
@@ -286,7 +286,7 @@ class Api::ResourcesController < Api::ApiController
end
def select_columns_for_measures
- select_columns='project_measures.id,project_measures.value,project_measures.metric_id,project_measures.snapshot_id,project_measures.rule_id,project_measures.rule_priority,project_measures.text_value,project_measures.characteristic_id'
+ select_columns='project_measures.id,project_measures.value,project_measures.metric_id,project_measures.snapshot_id,project_measures.rule_id,project_measures.rule_priority,project_measures.text_value,project_measures.characteristic_id,project_measures.measure_data'
if params[:includetrends]=='true'
select_columns+=',project_measures.tendency,project_measures.variation_value_1,project_measures.variation_value_2,project_measures.variation_value_3,project_measures.variation_value_4,project_measures.variation_value_5'
end