From b86b12d4aa80bcb2cb35e41734bc47933ea32733 Mon Sep 17 00:00:00 2001 From: coren Date: Sat, 9 May 2015 14:23:31 +0200 Subject: [PATCH] Use computed spent hours from subtask instead of inner spent hours. Fix #47 --- app/views/versions/_info.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/versions/_info.html.erb b/app/views/versions/_info.html.erb index d81dece..24d0ec0 100644 --- a/app/views/versions/_info.html.erb +++ b/app/views/versions/_info.html.erb @@ -91,7 +91,7 @@ <%- issues.each do |issue| -%> <%- # Issue cached values. issue_estimated_hours = issue.estimated_hours - issue_spent_hours = issue.spent_hours + issue_spent_hours = issue.total_spent_hours issue_done_ratio = issue.done_ratio issue_rest_hours = issue.rest_hours