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



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

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

.uploaded_fieldObject



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

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
# File 'app/controllers/catalog_controller.rb', line 25

def index
  collection_options
  super
end