Class: Hyrax::ExposedModelsRelation

Inherits:
AbstractTypeRelation show all
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_typesObject


4
5
6
# File 'app/search_builders/hyrax/exposed_models_relation.rb', line 4

def allowable_types
  Hyrax.config.curation_concerns + [Collection, ::FileSet]
end