From: Go MAEDA Date: Fri, 20 Mar 2020 00:42:31 +0000 (+0000) Subject: Fix missing sort order icon in users#index (#33176). X-Git-Tag: 4.2.0~1151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8b5865ae138b88f68a0dbdf00e3f4c6ccc8ff22;p=redmine.git Fix missing sort order icon in users#index (#33176). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19586 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb index 5350774b2..e6fe55fba 100644 --- a/app/helpers/sort_helper.rb +++ b/app/helpers/sort_helper.rb @@ -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