From b78804e0de65822f03a95f4ee2cd00d0b68a8fff Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 17 May 2013 17:31:23 +0200 Subject: [PATCH] SONAR-3755 export the rule status in the WS /api/issues/search --- sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb index 87d8a507599..28d0b9ef08f 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/rule.rb @@ -214,6 +214,7 @@ class Rule < ActiveRecord::Base hash = {:key => java_rule.ruleKey().toString()} hash[:name] = l10n_name if l10n_name hash[:desc] = l10n_desc if l10n_desc + hash[:status] = java_rule.getStatus() if java_rule.getStatus() hash end -- 2.39.5