Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-11-14 16:46:31 +0300
committerJacopo <beschi.jacopo@gmail.com>2018-11-14 16:47:09 +0300
commitb45501395ce13eabd079acd1640f99a94c4eee85 (patch)
tree1ffd8b96c74d3a83274b07f5cf158dee0167d328 /app/finders
parent28e3a90be82ac4365195a2cd96095fbd5e1b5c2c (diff)
Fix default sorting for subgroups and projects list
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