```ruby
module ArtifactsHelper
  def temportal_facet_path(params, low, high)
    artifacts_path(params.dup.update(low_date: low, high_date: high))
  end

  def temporal_facet_menu_item(params, low, high, text=nil)
    puts params.inspect

    text = "#{low} &ndash; #{high}".html_safe unless text.present?
    if params[:low_date].present? && params[:low_date].to_i == low
      return "#{text}<i class=\"icon-ok\"></i>".html_safe
    else
      return link_to text, temportal_facet_path(params, low, high)
    end
  end

  def display_fields
    [
      {field: 'accession_number', label: 'Accession Number'},
      {field: 'origin', label: 'Origin'},
      {field: 'prob_date', label: 'Probable Date'},
      {field: 'artist', label: 'Artist'},
      {field: 'school_period', label: 'School/Period'},
      {field: 'materials', label: 'Materials'},
      {field: 'measure', label: 'Measure'},
      {field: 'weight', label: 'Weight'}
    ]
  end
end
```

Reset page to 0 when changing filter.
user
```ruby
module ArtifactsHelper
  def temportal_facet_path(params, low, high)
    artifacts_path(params.dup.update(low_date: low, high_date: high, page: 1))
  end

  def temporal_facet_menu_item(params, low, high, text=nil)
    puts params.inspect

    text = "#{low} &ndash; #{high}".html_safe unless text.present?
    if params[:low_date].present? && params[:low_date].to_i == low
      return "#{text}<i class=\"icon-ok\"></i>".html_safe
    else
      return link_to text, temportal_facet_path(params, low, high)
    end
  end

  def display_fields
    [
      {field: 'accession_number', label: 'Accession Number'},
      {field: 'origin', label: 'Origin'},
      {field: 'prob_date', label: 'Probable Date'},
      {field: 'artist', label: 'Artist'},
      {field: 'school_period', label: 'School/Period'},
      {field: 'materials', label: 'Materials'},
      {field: 'measure', label: 'Measure'},
      {field: 'weight', label: 'Weight'}
    ]
  end
end
```
assistant