]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of lib/redmine/sort_criteria.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Nov 2020 13:52:12 +0000 (13:52 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 21 Nov 2020 13:52:12 +0000 (13:52 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20459 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/sort_criteria.rb

index 4de81900ea4579790f5038abeb5768187700fe58..5162f14cb3c61597f03c0f93321a4f92f401d444 100644 (file)
@@ -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