asc to desc to show most recent entries first for paper

This commit is contained in:
Joerg Reichert 2019-08-06 23:41:44 +02:00
parent e91d9f70df
commit 3111422940

View file

@ -46,7 +46,7 @@ class SearchController < ApplicationController
end end
sort do sort do
by :published_at, order: 'asc' by :published_at, order: 'desc'
by :reference, order: 'asc' by :reference, order: 'asc'
end end
end end