group_issues_by_status_2012-01-12.diff

patch to app/controllers/time_entry_reports_controller.rb - Jérôme BATAILLE, 2012-01-12 14:20

Download (945 Bytes)

View differences:

app/controllers/time_entry_reports_controller.rb (révision 285)
334 334
  end
335 335

  
336 336
  def load_available_criterias
337
    @available_criterias = { 'project' => {:sql => "#{TimeEntry.table_name}.project_id",
337
    @available_criterias = { 'status' => {:sql => "#{Issue.table_name}.status_id",
338
                                         :klass => IssueStatus,
339
                                         :label => :field_status},
340
                             'project' => {:sql => "#{TimeEntry.table_name}.project_id",
338 341
                                          :klass => Project,
339 342
                                          :label => :label_project},
340 343
                             'version' => {:sql => "#{Issue.table_name}.fixed_version_id",