fix error
This commit is contained in:
parent
749e9d6fbf
commit
08e8ca7487
|
@ -36,7 +36,7 @@ class Patent
|
||||||
|
|
||||||
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :application_date => "desc", :publish_date => "desc") }
|
scope :sort_for_frontend, ->{ where(:is_hidden=>false).order_by(:year => "desc", :application_date => "desc", :publish_date => "desc") }
|
||||||
|
|
||||||
def member_profile():
|
def member_profile()
|
||||||
(super || MemberProfile.find(self.member_profile_id)) rescue nil
|
(super || MemberProfile.find(self.member_profile_id)) rescue nil
|
||||||
end
|
end
|
||||||
def get_plugin_data(fields_to_show)
|
def get_plugin_data(fields_to_show)
|
||||||
|
|
Loading…
Reference in New Issue