From 0a8f3c77cf6bce4d66e83e85e3ea052f66e060fb Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Fri, 20 Mar 2020 00:11:10 +0200 Subject: [PATCH] Fix missing sort order icon in users#index --- app/helpers/sort_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.22.0