]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/SpaceAfterComma in app/models/query.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 13:18:54 +0000 (13:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 24 Nov 2019 13:18:54 +0000 (13:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19256 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/query.rb

index e3ab4919e8b998dbdff1ca6f2c8790567c79651b..9e5071e6cd68a288f347f3b761257550693a3ab8 100644 (file)
@@ -936,7 +936,7 @@ class Query < ActiveRecord::Base
         filters_clauses << sql_for_custom_field(field, operator, v, $1)
       elsif field =~ /^cf_(\d+)\.(.+)$/
         filters_clauses << sql_for_custom_field_attribute(field, operator, v, $1, $2)
-      elsif respond_to?(method = "sql_for_#{field.tr('.','_')}_field")
+      elsif respond_to?(method = "sql_for_#{field.tr('.', '_')}_field")
         # specific statement
         filters_clauses << send(method, field, operator, v)
       else