aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2014-02-19 12:28:38 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2014-02-25 18:52:32 +0100
commit23124a18155d030527aa7760b35a0bea5744f9ce (patch)
tree16cbf1b35ca932b177e42b6a4d068704df643cf0 /sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
parent0fae2d552337885d31d10348c9900e7ce993dfb4 (diff)
downloadsonarqube-23124a18155d030527aa7760b35a0bea5744f9ce.tar.gz
sonarqube-23124a18155d030527aa7760b35a0bea5744f9ce.zip
SONAR-4996 Update issue debt to seconds (backend + display)
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
index 0350bfbea9a..f0a93bd3067 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/issue.rb
@@ -33,7 +33,7 @@ class Issue
hash[:message] = issue.message if issue.message
hash[:line] = issue.line.to_i if issue.line
hash[:effortToFix] = issue.effortToFix.to_f if issue.effortToFix
- hash[:technicalDebt] = technical_debt_to_hash(issue.technicalDebt) if issue.technicalDebt
+ hash[:technicalDebt] = technical_debt_to_hash(issue.debt) if issue.debt
hash[:reporter] = issue.reporter if issue.reporter
hash[:assignee] = issue.assignee if issue.assignee
hash[:author] = issue.authorLogin if issue.authorLogin