summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-04-30 23:48:11 +0000
committerGo MAEDA <maeda@farend.jp>2019-04-30 23:48:11 +0000
commit89a29c87fc19bd853e36c8a4166d5f71c8f292c2 (patch)
treec60c62d50e7ef1a883992b13e244998f20365c11 /app/helpers
parent81e06a2f25f81abea90109719647c860221231d9 (diff)
downloadredmine-89a29c87fc19bd853e36c8a4166d5f71c8f292c2.tar.gz
redmine-89a29c87fc19bd853e36c8a4166d5f71c8f292c2.zip
Group time tracking filters in the filter select list (#26826).
git-svn-id: http://svn.redmine.org/redmine/trunk@18113 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/queries_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index bc9752cb6..29c8ae1d9 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -39,6 +39,8 @@ module QueriesHelper
group = :field_assigned_to
elsif field_options[:type] == :date_past || field_options[:type] == :date
group = :label_date
+ elsif %w(estimated_hours spent_time).include?(field)
+ group = :label_time_tracking
end
if group
(grouped[group] ||= []) << [field_options[:name], field]