mirror of
https://github.com/redmine/redmine.git
synced 2025-11-03 20:06:24 +01:00
Filter group should be a Symbol.
git-svn-id: http://svn.redmine.org/redmine/trunk@16190 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -30,7 +30,7 @@ module QueriesHelper
|
||||
group = query.is_a?(IssueQuery) ? :label_relations : nil
|
||||
elsif field =~ /^(.+)\./
|
||||
# association filters
|
||||
group = "field_#{$1}"
|
||||
group = "field_#{$1}".to_sym
|
||||
elsif %w(member_of_group assigned_to_role).include?(field)
|
||||
group = :field_assigned_to
|
||||
elsif field_options[:type] == :date_past || field_options[:type] == :date
|
||||
|
||||
Reference in New Issue
Block a user