From 6f82abf463588d129b66d12d55129f123dcf8c67 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 1 May 2024 09:21:47 +0000 Subject: [PATCH] Fix RuboCop offense Style/SuperWithArgsParentheses (#37862). git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue_query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5