summaryrefslogtreecommitdiffstats
path: root/app/models/time_entry_query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-12 12:38:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-12 12:38:45 +0000
commit14b09361e4a94e8cb28c6572e98231e282e350c8 (patch)
tree6a92828fac5ed8c9ec07c203cb3d74d78f452cbf /app/models/time_entry_query.rb
parentcd9923e39165dbd4003ce893ce846bb857f91f35 (diff)
downloadredmine-14b09361e4a94e8cb28c6572e98231e282e350c8.tar.gz
redmine-14b09361e4a94e8cb28c6572e98231e282e350c8.zip
Adds issue custom fields to time entries filters (#10191).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11171 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/time_entry_query.rb')
-rw-r--r--app/models/time_entry_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/time_entry_query.rb b/app/models/time_entry_query.rb
index d3a5a84ef..9ffa5f15d 100644
--- a/app/models/time_entry_query.rb
+++ b/app/models/time_entry_query.rb
@@ -88,7 +88,7 @@ class TimeEntryQuery < Query
} unless activities.empty?
add_custom_fields_filters(TimeEntryCustomField.where(:is_filter => true).all)
- add_associations_custom_fields_filters :project, :user
+ add_associations_custom_fields_filters :project, :issue, :user
@available_filters.each do |field, options|
options[:name] ||= l(options[:label] || "field_#{field}".gsub(/_id$/, ''))