Class: Hyrax::ExposedModelsRelation
- Inherits:
-
AbstractTypeRelation
- Object
- ActiveFedora::Relation
- AbstractTypeRelation
- Hyrax::ExposedModelsRelation
- Defined in:
- app/search_builders/hyrax/exposed_models_relation.rb
Overview
A relation that scopes to all user visible models (e.g. works + collections + file sets)
Instance Method Summary collapse
Methods inherited from AbstractTypeRelation
#equivalent_class?, #initialize, #search_model_clause
Constructor Details
This class inherits a constructor from Hyrax::AbstractTypeRelation
Instance Method Details
#allowable_types ⇒ Object
5 6 7 |
# File 'app/search_builders/hyrax/exposed_models_relation.rb', line 5 def allowable_types (Hyrax.config.curation_concerns + [Hyrax.config.collection_class, ::Collection, ::FileSet]).uniq end |