diff --git a/app/graphql/types/work_connection_with_total_type.rb b/app/graphql/types/work_connection_with_total_type.rb index 1aebf9b98..c8902a8de 100644 --- a/app/graphql/types/work_connection_with_total_type.rb +++ b/app/graphql/types/work_connection_with_total_type.rb @@ -42,7 +42,7 @@ def published def resource_types if object.aggregations.authors - facet_by_combined_key(object.aggregations.authors.buckets) + facet_by_combined_key(object.aggregations.resource_types.buckets) else [] end