Class: Blacklight::Configuration::ViewConfig::Index
- Inherits:
 - 
      Blacklight::Configuration::ViewConfig
      
        
- Object
 - OpenStruct
 - OpenStructWithHashAccess
 - Blacklight::Configuration::ViewConfig
 - Blacklight::Configuration::ViewConfig::Index
 
 
- Defined in:
 - lib/blacklight/configuration/view_config.rb
 
Instance Attribute Summary collapse
- #collection_actions ⇒ String, Symbol
 - 
  
    
      #group  ⇒ false, ... 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
What field, if any, to use to render grouped results.
 - 
  
    
      #respond_to  ⇒ OpenStructWithHashAccess{Symbol => OpenStruct} 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Additional response formats for search results; see Blacklight::Catalog#additional_response_formats for information about the OpenStruct data.
 
Attributes inherited from Blacklight::Configuration::ViewConfig
#constraints_component, #display_type_field, #document_actions, #document_component, #facet_group_component, #icon, #partials, #search_bar_component, #search_header_component, #template, #title_field
Instance Method Summary collapse
Methods inherited from Blacklight::Configuration::ViewConfig
Methods inherited from OpenStructWithHashAccess
#deep_dup, #deep_transform_values, #merge, #merge!, #reverse_merge, #select, #sort_by, #sort_by!, #try
Instance Attribute Details
#collection_actions ⇒ String, Symbol
      75 76 77  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 75 def document_presenter_class super || Blacklight::IndexPresenter end  | 
  
#group ⇒ false, ...
Returns what field, if any, to use to render grouped results.
      75 76 77  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 75 def document_presenter_class super || Blacklight::IndexPresenter end  | 
  
#respond_to ⇒ OpenStructWithHashAccess{Symbol => OpenStruct}
Returns additional response formats for search results; see Blacklight::Catalog#additional_response_formats for information about the OpenStruct data.
      75 76 77  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 75 def document_presenter_class super || Blacklight::IndexPresenter end  | 
  
Instance Method Details
#document_presenter_class ⇒ Object
      75 76 77  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 75 def document_presenter_class super || Blacklight::IndexPresenter end  | 
  
#to_h ⇒ Object
      79 80 81  | 
    
      # File 'lib/blacklight/configuration/view_config.rb', line 79 def to_h super.merge(document_presenter_class: document_presenter_class) end  |