diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-14 09:51:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-14 09:51:56 +0000 |
commit | a6a627f4455bdd2a39c4c36d8b1b85ccda6f03ad (patch) | |
tree | c7e7e3f146412da77d1e66b7677b7db6aab821f8 /lib | |
parent | dc7a0ebcf28827ac8076e89b0b86e50a7a6aeef9 (diff) | |
download | redmine-a6a627f4455bdd2a39c4c36d8b1b85ccda6f03ad.tar.gz redmine-a6a627f4455bdd2a39c4c36d8b1b85ccda6f03ad.zip |
Adds "Status" to the time report criteria (#9985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8643 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/helpers/time_report.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/redmine/helpers/time_report.rb b/lib/redmine/helpers/time_report.rb index d573b46f8..0681af351 100644 --- a/lib/redmine/helpers/time_report.rb +++ b/lib/redmine/helpers/time_report.rb @@ -112,6 +112,9 @@ module Redmine @available_criteria = { 'project' => {:sql => "#{TimeEntry.table_name}.project_id", :klass => Project, :label => :label_project}, + 'status' => {:sql => "#{Issue.table_name}.status_id", + :klass => IssueStatus, + :label => :field_status}, 'version' => {:sql => "#{Issue.table_name}.fixed_version_id", :klass => Version, :label => :label_version}, |