diff --git a/app/models/communication/extranet/document/facets.rb b/app/models/communication/extranet/document/facets.rb index 4e1977a15afbab17be888f9b295fc574633be835..cb8ef4f220c73004b7691b5b73cf5ff2be0d7731 100644 --- a/app/models/communication/extranet/document/facets.rb +++ b/app/models/communication/extranet/document/facets.rb @@ -1,7 +1,7 @@ class Communication::Extranet::Document::Facets < FacetedSearch::Facets def initialize(params, extranet) super(params) - @model = extranet.documents + @model = extranet.documents.published filter_with_text :name, { title: Communication::Extranet::Document.human_attribute_name('name') }