debian-mirror-gitlab/app/views/shared/groups/_dropdown.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
352 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- options_hash = local_assigns.fetch(:options_hash, groups_sort_options_hash)
2022-06-21 17:19:12 +05:30
- groups_sort_options = options_hash.map { |value, title| { value: value, text: title, href: filter_groups_path(sort: value) } }
2018-03-17 18:26:18 +05:30
2022-06-21 17:19:12 +05:30
%div{ data: { testid: 'group_sort_by_dropdown' } }
= gl_redirect_listbox_tag groups_sort_options, project_list_sort_by, data: { right: true }