From: Go MAEDA Date: Wed, 1 May 2024 09:21:47 +0000 (+0000) Subject: Fix RuboCop offense Style/SuperWithArgsParentheses (#37862). X-Git-Tag: 6.0.0~362 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f82abf463588d129b66d12d55129f123dcf8c67;p=redmine.git Fix RuboCop offense Style/SuperWithArgsParentheses (#37862). git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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)