Class: CatalogController

Inherits:
ApplicationController
  • Object
show all
Includes:
Blacklight::Catalog, BreadcrumbsOnRails::ActionController, Curate::FieldsForAddToCollection, Curate::ThemedLayoutController, Hydra::Controller::ControllerBehavior
Defined in:
app/controllers/catalog_controller.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Curate::ThemedLayoutController

#show_site_actions?, #show_site_search?

Class Method Details

.modified_fieldObject



36
37
38
# File 'app/controllers/catalog_controller.rb', line 36

def self.modified_field
  solr_name('desc_metadata__date_modified', :stored_sortable, type: :date)
end

.uploaded_fieldObject



31
32
33
34
# File 'app/controllers/catalog_controller.rb', line 31

def self.uploaded_field
  #  system_create_dtsi
  solr_name('desc_metadata__date_uploaded', :stored_sortable, type: :date)
end

Instance Method Details

#indexObject



25
26
27
28
29
# File 'app/controllers/catalog_controller.rb', line 25

def index
  collection_options
  profile_collection_options
  super
end