diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-12 13:09:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-12 13:09:06 +0000 |
commit | e18d0e268de5a3eee897eac3072c3d3dc37405d1 (patch) | |
tree | b433b889bd31ed31aec02bae2053a8d87db17edf /app/models/time_entry_query.rb | |
parent | a9e81b6b847078d0eac673a4bbaebb5274231231 (diff) | |
download | redmine-e18d0e268de5a3eee897eac3072c3d3dc37405d1.tar.gz redmine-e18d0e268de5a3eee897eac3072c3d3dc37405d1.zip |
Makes issue custom fields available as timelog columns (#1766).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11174 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/time_entry_query.rb')
-rw-r--r-- | app/models/time_entry_query.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/time_entry_query.rb b/app/models/time_entry_query.rb index 9ffa5f15d..7283fbd2f 100644 --- a/app/models/time_entry_query.rb +++ b/app/models/time_entry_query.rb @@ -100,6 +100,7 @@ class TimeEntryQuery < Query return @available_columns if @available_columns @available_columns = self.class.available_columns.dup @available_columns += TimeEntryCustomField.all.map {|cf| QueryCustomFieldColumn.new(cf) } + @available_columns += IssueCustomField.all.map {|cf| QueryAssociationCustomFieldColumn.new(:issue, cf) } @available_columns end |