app/indexers/etd_indexer.rb
# Create a year field (integer, multiple) for faceting on
Create a year field (integer, multiple) for faceting on
Create a year field ( integer multiple ) for faceting on
def facetable_year
      if timespan?
        super
      else
        Array(sorted_key_date).flat_map { |d| DateUtil.extract_year(d) }
      end
    end
def facetable_year if timespan? super else Array ( sorted_key_date ) . flat_map { | d | DateUtil . extract_year ( d ) } end end
Create a year field (integer, multiple) for faceting on
Create a year field ( integer multiple ) for faceting on