Skip to content

Commit

Permalink
Fix - Accidental switch of resource_types aggregation
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Jul 1, 2021
1 parent 020b45f commit beb100e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/types/work_connection_with_total_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beb100e

Please sign in to comment.