diff --git a/app/models/search/artwork.rb b/app/models/search/artwork.rb index 8a38194..b119ac7 100644 --- a/app/models/search/artwork.rb +++ b/app/models/search/artwork.rb @@ -10,6 +10,7 @@ module Artwork search_attribute :id search_attribute :date_descriptor search_attribute :date_start + search_attribute :documents_count, facet: true search_attribute :object_work_type, object: 'Artwork', group: 'Object/Work Type', multiple: true, facet: true search_attribute :materials, object: 'Artwork', group: 'Material', multiple: true, facet: true search_attribute :techniques, object: 'Artwork', group: 'Technique', multiple: true, facet: true diff --git a/client/src/components/SearchFacets.js b/client/src/components/SearchFacets.js index aa083be..5ddf8fc 100644 --- a/client/src/components/SearchFacets.js +++ b/client/src/components/SearchFacets.js @@ -189,6 +189,14 @@ const SearchFacets = (props: any) => { toggleable useRefinementList={useRefinementList} /> +