patch.diff

Vincent Robert, 2020-06-03 17:14

Download (326 Bytes)

View differences:

app/models/query.rb
51 51

  
52 52
  # Returns true if the column is sortable, otherwise false
53 53
  def sortable?
54
    !@sortable.nil?
54
    !@sortable.blank?
55 55
  end
56 56

  
57 57
  def sortable