Class: Spotlight::BulkActionsController
- Inherits:
-
CatalogController
- Object
- ApplicationController
- CatalogController
- CatalogController
- Spotlight::BulkActionsController
- Defined in:
- app/controllers/spotlight/bulk_actions_controller.rb
Overview
Controller enabling bulk functionality for search results
Instance Method Summary collapse
Methods inherited from CatalogController
#admin, #autocomplete, #edit, #make_private, #make_public, #manifest, #show, #update
Methods included from Catalog
#add_facet_visibility_field, #render_curator_actions?
Methods included from SearchHelper
#search_service, #search_service_context
Methods included from Base
#autocomplete_json_response, #autocomplete_json_response_for_document, #blacklight_config, #controller_tracking_method
Methods included from Config
#exhibit_specific_blacklight_config
Methods included from Concerns::ApplicationController
#enabled_in_spotlight_view_type_configuration?, #field_enabled?
Methods included from Controller
#add_breadcrumb, #blacklight_config, #breadcrumbs, #current_exhibit, #current_masthead, #current_masthead=, #current_site, #default_url_options, #exhibit_masthead?, #exhibit_search_action_url, #exhibit_search_facet_path, #resource_masthead?, #search_action_url, #search_facet_path, #search_state, #set_exhibit_locale_scope, #set_locale
Instance Method Details
#add_tags ⇒ Object
10 11 12 |
# File 'app/controllers/spotlight/bulk_actions_controller.rb', line 10 def handle_bulk_action_with_job(Spotlight::AddTagsJob, tags: ) end |
#change_visibility ⇒ Object
18 19 20 |
# File 'app/controllers/spotlight/bulk_actions_controller.rb', line 18 def change_visibility handle_bulk_action_with_job(Spotlight::ChangeVisibilityJob, visibility: change_visibility_params) end |
#remove_tags ⇒ Object
14 15 16 |
# File 'app/controllers/spotlight/bulk_actions_controller.rb', line 14 def handle_bulk_action_with_job(Spotlight::RemoveTagsJob, tags: ) end |