diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index d3832be7d..9c72c0f4e 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb @@ -183,11 +183,11 @@ def index end occurred = if total.positive? - facet_by_source(response.response.aggregations.occurred.buckets) + facet_by_year(response.response.aggregations.occurred.buckets) end prefixes = if total.positive? - facet_by_source(response.response.aggregations.prefixes.buckets) + facet_by_key(response.response.aggregations.prefixes.buckets) end citation_types = if total.positive?