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.

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
10
# File 'app/controllers/blacklight_advanced_search/advanced_controller.rb', line 5

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