diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index d57ebc0d..3ca6feb2 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -75,13 +75,13 @@ def self.title_field # solr fields that will be treated as facets by the blacklight application # The ordering of the field names is the order of the display - config.add_facet_field 'date_created_sim', label: "Date Created", - range: { - num_segments: 6, - assumed_boundaries: [1100, Time.zone.now.year + 2], - segments: true, - maxlength: 4 - } + config.add_facet_field 'date_created_d_sim', label: "Date Created", + range: { + num_segments: 6, + assumed_boundaries: [1100, Time.zone.now.year + 2], + segments: true, + maxlength: 4 + } config.add_facet_field 'human_readable_type_sim', label: "Type", limit: 5 config.add_facet_field 'resource_type_sim', label: "Resource Type", limit: 5 config.add_facet_field 'creator_sim', limit: 5