Class: CatalogController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- CatalogController
- Includes:
- BlacklightAdvancedSearch::Controller, Hydra::Catalog, Hydra::Controller::ControllerBehavior, Sufia::Catalog
- Defined in:
- lib/generators/sufia/templates/catalog_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#render_bookmarks_control? ⇒ Boolean
disable the bookmark control from displaying in gallery view Sufia doesn’t show any of the default controls on the list view, so this method is not called in that context.
Class Method Details
.modified_field ⇒ Object
15 16 17 |
# File 'lib/generators/sufia/templates/catalog_controller.rb', line 15 def self.modified_field solr_name('system_modified', :stored_sortable, type: :date) end |
.uploaded_field ⇒ Object
11 12 13 |
# File 'lib/generators/sufia/templates/catalog_controller.rb', line 11 def self.uploaded_field solr_name('system_create', :stored_sortable, type: :date) end |
Instance Method Details
#render_bookmarks_control? ⇒ Boolean
disable the bookmark control from displaying in gallery view Sufia doesn’t show any of the default controls on the list view, so this method is not called in that context.
283 284 285 |
# File 'lib/generators/sufia/templates/catalog_controller.rb', line 283 def render_bookmarks_control? false end |