added start date sort
This commit is contained in:
parent
a626e12478
commit
fcc41fe3b2
|
@ -40,7 +40,7 @@ class WritingConference
|
|||
|
||||
before_validation :add_http
|
||||
|
||||
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :publication_date => "desc") }
|
||||
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :publication_date => "desc", :period_start_date => "desc") }
|
||||
|
||||
def create_link
|
||||
title = []
|
||||
|
|
Loading…
Reference in New Issue