Browse Source

Undo change to collection_year_radio_options

pull/2666/head
Manny Dinssa 2 years ago
parent
commit
4bca6366fd
  1. 10
      app/helpers/filters_helper.rb

10
app/helpers/filters_helper.rb

@ -150,11 +150,11 @@ module FiltersHelper
end end
def collection_year_radio_options def collection_year_radio_options
{ options = {}
current_collection_start_year.to_s => { label: year_combo(current_collection_start_year) }, collection_year_options.map do |year, label|
previous_collection_start_year.to_s => { label: year_combo(previous_collection_start_year) }, options[year] = { label: }
archived_collection_start_year.to_s => { label: year_combo(archived_collection_start_year) }, end
} options
end end
def filters_applied_text(filter_type) def filters_applied_text(filter_type)

Loading…
Cancel
Save