]> source.dussan.org Git - redmine.git/commitdiff
Fix missing sort order icon in users#index (#33176).
authorGo MAEDA <maeda@farend.jp>
Fri, 20 Mar 2020 00:42:31 +0000 (00:42 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 20 Mar 2020 00:42:31 +0000 (00:42 +0000)
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19586 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/sort_helper.rb

index 5350774b2f7a866ab7b54bf8cc3d7bff0182b135..e6fe55fbabafdc118923d7c4e2aa0cb79e2032e0 100644 (file)
@@ -115,10 +115,10 @@ module SortHelper
 
     if column.to_s == @sort_criteria.first_key
       if @sort_criteria.first_asc?
-        css = 'sort asc'
+        css = 'sort asc icon icon-sorted-desc'
         order = 'desc'
       else
-        css = 'sort desc'
+        css = 'sort desc icon icon-sorted-asc'
         order = 'asc'
       end
     end