summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-14 10:08:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-14 10:08:44 +0000
commitcb15f0df380031ec44c53c71755bd9926c17aa32 (patch)
tree6ccf92937e6752fb73f637e00a5ae5be18e6824a
parent6f842ec78e03f97694a840f8bafd8f2a19c2b35d (diff)
downloadredmine-cb15f0df380031ec44c53c71755bd9926c17aa32.tar.gz
redmine-cb15f0df380031ec44c53c71755bd9926c17aa32.zip
Filter group should be a Symbol.
git-svn-id: http://svn.redmine.org/redmine/trunk@16190 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/queries_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 5c4ad2443..66793e493 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -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