diff --git a/app/controllers/questions_controller.rb b/app/controllers/questions_controller.rb index 50709a37d9..08479e2a92 100644 --- a/app/controllers/questions_controller.rb +++ b/app/controllers/questions_controller.rb @@ -90,7 +90,7 @@ def unanswered .includes(:answers) .references(:answers) .where(answers: { id: nil }) - .order('answers.created_at DESC') + .order('node.nid DESC') .group('node.nid') .paginate(page: params[:page], per_page: 24) render template: 'questions/index'