app/indexers/etd_indexer.rb
# Create a date field for sorting on
Create a date field for sorting on
Create a date field for sorting on
def sortable_date
      if timespan?
        super
      else
        Array(sorted_key_date).first
      end
    end
def sortable_date if timespan? super else Array ( sorted_key_date ) . first end end
Create a date field for sorting on
Create a date field for sorting on