summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:12 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:12 +0000
commit9ae922f69816452dc587a69c3d0d6205fab1b235 (patch)
tree7fcf790568bad606b0c4149fc5131328117b94ea /lib
parent594d9079f9238bfc66ef3df343a457e82165cc41 (diff)
downloadredmine-9ae922f69816452dc587a69c3d0d6205fab1b235.tar.gz
redmine-9ae922f69816452dc587a69c3d0d6205fab1b235.zip
remove spaces inside {} of lib/redmine/sort_criteria.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20459 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/sort_criteria.rb4
1 files changed, 2 insertions, 2 deletions
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