diff options
author | Phil Hughes <me@iamphill.com> | 2017-10-06 16:42:01 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-06 18:07:09 +0300 |
commit | 0f366c74131339cb45c8943437fe5b3e68721c75 (patch) | |
tree | 247be2df30143c3ba2a3beb11bf7c6aedc7c4142 /app/controllers | |
parent | 050548032475458a70005ed3f7ff74211084a423 (diff) |
Fixed default group sort option
Closes #38808
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/dashboard/groups_controller.rb | 2 |
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? |