From 4394198751448dfddd21614bfb167a952cbbf58f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 5 Nov 2020 13:42:54 +0000 Subject: [PATCH] add empty line after guard clause to app/models/custom_field.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20267 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/custom_field.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb index 6c0f4e483..24ad6049c 100644 --- a/app/models/custom_field.rb +++ b/app/models/custom_field.rb @@ -203,6 +203,7 @@ class CustomField < ActiveRecord::Base # Returns nil if the custom field can not be used for sorting. def order_statement return nil if multiple? + format.order_statement(self) end @@ -210,6 +211,7 @@ class CustomField < ActiveRecord::Base # Returns nil if the custom field can not be used for grouping. def group_statement return nil if multiple? + format.group_statement(self) end