summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2018-11-20 08:41:43 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2018-11-20 08:41:43 +0000
commita0c86637c138a17a8ae136e4698cf192b5949c36 (patch)
tree79c64985a6833ea61e1dfea3ade3d76dc745ce7f /app/finders
parent41a3fa57f088df6d09b550d0918ce6f205c5a1fc (diff)
parentb45501395ce13eabd079acd1640f99a94c4eee85 (diff)
downloadgitlab-ce-a0c86637c138a17a8ae136e4698cf192b5949c36.tar.gz
Merge branch '53290-incorrect-project-list-order-select-default-label' into 'master'
Resolve "Incorrect project list order select default label" Closes #53290 See merge request gitlab-org/gitlab-ce!23058
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/group_descendants_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/group_descendants_finder.rb b/app/finders/group_descendants_finder.rb
index c96979619fd..a9ce5be13f3 100644
--- a/app/finders/group_descendants_finder.rb
+++ b/app/finders/group_descendants_finder.rb
@@ -178,7 +178,7 @@ class GroupDescendantsFinder
end
def sort
- params.fetch(:sort, 'id_asc')
+ params.fetch(:sort, 'created_desc')
end
# rubocop: disable CodeReuse/ActiveRecord