Index: app/models/issue_query.rb =================================================================== --- app/models/issue_query.rb (revision 14559) +++ app/models/issue_query.rb (working copy) @@ -263,7 +263,7 @@ if User.current.allowed_to?(:view_time_entries, project, :global => true) index = nil - @available_columns.each_with_index {|column, i| index = i if column.name == :estimated_hours} + @available_columns.each_with_index {|column, i| index = i if column.name == :total_estimated_hours} index = (index ? index + 1 : -1) # insert the column after estimated_hours or at the end @available_columns.insert index, QueryColumn.new(:spent_hours,