mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-03 17:26:43 +02:00
sort by date by default in web form
This commit is contained in:
parent
eef07c25b9
commit
cdc5fcedf5
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ end
|
|||
class SearchController < ApplicationController
|
||||
def index
|
||||
@search_definition = PaperSearch.new(search_params)
|
||||
@search_definition.sort_by ||= "score"
|
||||
@search_definition.sort_by ||= "date"
|
||||
|
||||
execute_search
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue