summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-06 14:42:01 +0100
committerPhil Hughes <me@iamphill.com>2017-10-06 16:07:09 +0100
commit0f366c74131339cb45c8943437fe5b3e68721c75 (patch)
tree247be2df30143c3ba2a3beb11bf7c6aedc7c4142 /app/controllers/dashboard
parent050548032475458a70005ed3f7ff74211084a423 (diff)
downloadgitlab-ce-0f366c74131339cb45c8943437fe5b3e68721c75.tar.gz
Fixed default group sort optiongroup-sort-dropdown-blank
Closes #38808
Diffstat (limited to 'app/controllers/dashboard')
-rw-r--r--app/controllers/dashboard/groups_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard/groups_controller.rb b/app/controllers/dashboard/groups_controller.rb
index 8057a0b455c..7ed18fb481c 100644
--- a/app/controllers/dashboard/groups_controller.rb
+++ b/app/controllers/dashboard/groups_controller.rb
@@ -1,6 +1,6 @@
class Dashboard::GroupsController < Dashboard::ApplicationController
def index
- @sort = params[:sort] || 'id_desc'
+ @sort = params[:sort] || 'created_desc'
@groups =
if params[:parent_id] && Group.supports_nested_groups?