[FIX]Display answers in order by posted date in descending (latest to old)
This commit is contained in:
parent
d9cda97cf4
commit
ea470b67bf
|
@ -69,7 +69,7 @@ class Post(osv.Model):
|
|||
_name = 'forum.post'
|
||||
_description = 'Forum Post'
|
||||
_inherit = ['mail.thread', 'website.seo.metadata']
|
||||
_order = "is_correct DESC, vote_count DESC"
|
||||
_order = "is_correct DESC, vote_count DESC, write_date DESC"
|
||||
|
||||
def _get_user_vote(self, cr, uid, ids, field_name, arg, context):
|
||||
res = dict.fromkeys(ids, 0)
|
||||
|
|
Loading…
Reference in New Issue