Class: BlacklightAdvancedSearch::AdvancedController

Inherits:
CatalogController
  • Object
show all
Defined in:
app/controllers/blacklight_advanced_search/advanced_controller.rb

Overview

Need to sub-class CatalogController so we get all other plugins behavior for our own “inside a search context” lookup of facets.

Direct Known Subclasses

AdvancedController

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/blacklight_advanced_search/advanced_controller.rb', line 4

def index
  @response = get_advanced_search_facets unless request.method == :post
end