diff --git a/addons/website_forum/controllers/main.py b/addons/website_forum/controllers/main.py index 78c47603e7c..69a420be320 100644 --- a/addons/website_forum/controllers/main.py +++ b/addons/website_forum/controllers/main.py @@ -112,9 +112,11 @@ class WebsiteForum(http.Controller): order = 'child_count desc' elif sorting == 'vote': order = 'vote_count desc' - else: - sorting = 'date' + elif sorting == 'date': order = 'write_date desc' + else: + sorting = 'creation' + order = 'create_date desc' question_count = Post.search(cr, uid, domain, count=True, context=context) if tag: diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 7cefe20e860..66b13026335 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -229,6 +229,7 @@ Followed by activity date + by creation date by most answered by most voted @@ -252,6 +253,9 @@
  • Last activity date
  • +
  • + Newest +
  • Most answered