0001-Fix-missing-sort-order-icon-in-users-index.patch

Marius BALTEANU, 2020-03-19 23:41

Download (846 Bytes)

View differences:

app/helpers/sort_helper.rb
115 115

  
116 116
    if column.to_s == @sort_criteria.first_key
117 117
      if @sort_criteria.first_asc?
118
        css = 'sort asc'
118
        css = 'sort asc icon icon-sorted-desc'
119 119
        order = 'desc'
120 120
      else
121
        css = 'sort desc'
121
        css = 'sort desc icon icon-sorted-asc'
122 122
        order = 'asc'
123 123
      end
124 124
    end
125
-