Commit 0579f0e4 authored by jplang's avatar jplang

Filter group should be a Symbol.

git-svn-id: https://svn.redmine.org/redmine/trunk@16190 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4ee08007
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment