diff options
author | Mark Fletcher <mark@gitlab.com> | 2017-12-20 12:09:35 +0000 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2017-12-20 12:16:15 +0000 |
commit | 225980db35cc468b892aa71d26aa622e5fe08b96 (patch) | |
tree | 78060537fe692154a6031ba9b6ea8ba3b9453524 /app/helpers | |
parent | 5664ea2fdeadbd677dc20f0675f6566cffdfc0a4 (diff) | |
download | gitlab-ce-225980db35cc468b892aa71d26aa622e5fe08b96.tar.gz |
Employ Groups dropdown in admin view
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/sorting_helper.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/helpers/sorting_helper.rb b/app/helpers/sorting_helper.rb index b05eb93b465..52805334680 100644 --- a/app/helpers/sorting_helper.rb +++ b/app/helpers/sorting_helper.rb @@ -43,14 +43,18 @@ module SortingHelper end def groups_sort_options_hash - options = { + { sort_value_recently_created => sort_title_recently_created, sort_value_oldest_created => sort_title_oldest_created, sort_value_recently_updated => sort_title_recently_updated, sort_value_oldest_updated => sort_title_oldest_updated } + end - options + def admin_groups_sort_options_hash + groups_sort_options_hash.merge( + sort_value_largest_group => sort_title_largest_group + ) end def member_sort_options_hash |