mirror of
https://github.com/redmine/redmine.git
synced 2026-01-18 21:43:01 +01:00
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
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user