Class: Blacklight::SearchContext::ServerAppliedParamsComponent
- Inherits:
-
Component
- Object
- ViewComponent::Base
- Component
- Blacklight::SearchContext::ServerAppliedParamsComponent
show all
- Defined in:
- app/components/blacklight/search_context/server_applied_params_component.rb
Overview
This is displayed on the show page when the user has a search session.
Instance Method Summary
collapse
Methods inherited from Component
reset_compiler!, sidecar_files, upstream_sidecar_files
Instance Method Details
#render? ⇒ Boolean
9
10
11
|
# File 'app/components/blacklight/search_context/server_applied_params_component.rb', line 9
def render?
current_search_session
end
|
#start_over ⇒ Object
13
14
15
|
# File 'app/components/blacklight/search_context/server_applied_params_component.rb', line 13
def start_over
render start_over_component.new
end
|
#start_over_component ⇒ Object