mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Add option for sort criteria to form
This commit is contained in:
parent
c434dc3e85
commit
8929f07745
2 changed files with 9 additions and 2 deletions
|
@ -9,7 +9,8 @@ class SearchController < ApplicationController
|
|||
def index
|
||||
@paper_type = params[:paper_type]
|
||||
@originator = params[:originator]
|
||||
options = params.slice(:paper_type, :originator)
|
||||
|
||||
options = params.slice(:paper_type, :originator, :sort_by)
|
||||
|
||||
@show_filters = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue