mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
reenable select boxes for filter by facets
This commit is contained in:
parent
2caec3d721
commit
2b7ab65432
5 changed files with 21 additions and 9 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue