From 9ae922f69816452dc587a69c3d0d6205fab1b235 Mon Sep 17 00:00:00 2001
From: Toshi MARUYAMA <marutosijp2@yahoo.co.jp>
Date: Sat, 21 Nov 2020 13:52:12 +0000
Subject: remove spaces inside {} of lib/redmine/sort_criteria.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20459 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 lib/redmine/sort_criteria.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'lib/redmine/sort_criteria.rb')

diff --git a/lib/redmine/sort_criteria.rb b/lib/redmine/sort_criteria.rb
index 4de81900e..5162f14cb 100644
--- a/lib/redmine/sort_criteria.rb
+++ b/lib/redmine/sort_criteria.rb
@@ -89,8 +89,8 @@ module Redmine
     private
 
     def normalize!
-      self.reject! {|s| s.first.blank? }
-      self.uniq! {|s| s.first }
+      self.reject! {|s| s.first.blank?}
+      self.uniq! {|s| s.first}
       self.collect! {|s| s = Array(s); [s.first, (s.last == false || s.last.to_s == 'desc') ? 'desc' : 'asc']}
       self.replace self.first(3)
     end
-- 
cgit v1.2.3