Module: Arclight::Catalog

Extended by:
ActiveSupport::Concern
Included in:
CatalogController
Defined in:
app/models/concerns/arclight/catalog.rb

Overview

Arclight specific methods for the Catalog

Instance Method Summary collapse

Instance Method Details

#hierarchyObject



35
36
37
# File 'app/models/concerns/arclight/catalog.rb', line 35

def hierarchy
  @response = search_service.search_results
end

#search_stateObject

Overrides blacklight search state so we can exclude some parameters from being passed into the SearchState



40
41
42
# File 'app/models/concerns/arclight/catalog.rb', line 40

def search_state
  @search_state ||= search_state_class.new(params.except('hierarchy', 'nest_path'), blacklight_config, self)
end