summaryrefslogtreecommitdiffstats
path: root/app/helpers/queries_helper.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-12-20 07:16:35 +0000
committerGo MAEDA <maeda@farend.jp>2023-12-20 07:16:35 +0000
commitd9ef2d191cdb3d04508530275bc99c3710820fcb (patch)
tree72d676c6332c4add4fe6b276c0085f247c0f2e22 /app/helpers/queries_helper.rb
parentc51e4937e7c7abafec00c883f3d7e45e53e5175f (diff)
downloadredmine-d9ef2d191cdb3d04508530275bc99c3710820fcb.tar.gz
redmine-d9ef2d191cdb3d04508530275bc99c3710820fcb.zip
Fix RuboCop offense Lint/SymbolConversion (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/queries_helper.rb')
-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 d2505ff6f..92459ae00 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -30,7 +30,7 @@ module QueriesHelper
group = (field_options[:through] || field_options[:field]).try(:name)
elsif field =~ /^(.+)\./
# association filters
- group = "field_#{$1}".to_sym
+ group = :"field_#{$1}"
elsif field_options[:type] == :relation
group = :label_relations
elsif field_options[:type] == :tree