reenable select boxes for filter by facets

This commit is contained in:
Lars Henrik Mai 2015-06-22 21:33:40 +02:00 committed by Andreas Haller
parent 2caec3d721
commit 2b7ab65432
5 changed files with 21 additions and 9 deletions

View file

@ -4,6 +4,8 @@ class SearchController < ApplicationController
@originator = params[:originator]
options = params.slice(:paper_type, :originator)
@show_filters = true
@response = Paper.search(params[:q], options)
@papers = @response.page(params[:page]).results
@paper_type_facets = extract_facets('paper_types')