diff options
-rw-r--r-- | app/models/issue_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index 6a2771343..0895e8074 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -22,7 +22,7 @@ class IssueQuery < Query COLUMN_SQL = Arel.sql("COALESCE(#{Issue.table_name}.estimated_hours, 0) * (100 - COALESCE(#{Issue.table_name}.done_ratio, 0)) / 100") def initialize - super :estimated_remaining_hours, totalable: true, sortable: COLUMN_SQL + super(:estimated_remaining_hours, totalable: true, sortable: COLUMN_SQL) end def value(object) |