forked from saurabh/personal-patent
small fix
This commit is contained in:
parent
d0d96f7168
commit
3b9a9bb527
|
@ -34,7 +34,7 @@ class Patent
|
|||
|
||||
before_validation :add_http
|
||||
|
||||
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :publish_date => "desc", :application_date => "desc") }
|
||||
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :application_date => "desc", :publish_date => "desc") }
|
||||
|
||||
def get_plugin_data(fields_to_show)
|
||||
plugin_datas = []
|
||||
|
|
Loading…
Reference in New Issue