diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-11-14 16:46:31 +0300 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-11-14 16:47:09 +0300 |
commit | b45501395ce13eabd079acd1640f99a94c4eee85 (patch) | |
tree | 1ffd8b96c74d3a83274b07f5cf158dee0167d328 /app/finders | |
parent | 28e3a90be82ac4365195a2cd96095fbd5e1b5c2c (diff) |
Fix default sorting for subgroups and projects list
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/group_descendants_finder.rb | 2 |
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 |