From 31114229407178d49c308b3056bb249b604d7097 Mon Sep 17 00:00:00 2001 From: Joerg Reichert Date: Tue, 6 Aug 2019 23:41:44 +0200 Subject: [PATCH] asc to desc to show most recent entries first for paper --- app/controllers/search_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 5948e6e..c138635 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -46,7 +46,7 @@ class SearchController < ApplicationController end sort do - by :published_at, order: 'asc' + by :published_at, order: 'desc' by :reference, order: 'asc' end end