mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00: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:
parent
81e06a2f25
commit
89a29c87fc
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user