Parcourir la source

Fix RuboCop offense Style/SuperWithArgsParentheses (#37862).


git-svn-id: https://svn.redmine.org/redmine/trunk@22801 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/149/merge
Go MAEDA il y a 1 mois
Parent
révision
6f82abf463
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      app/models/issue_query.rb

+ 1
- 1
app/models/issue_query.rb Voir le fichier

@@ -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)

Chargement…
Annuler
Enregistrer