debian-mirror-gitlab/app/views/shared/groups/_dropdown.html.haml
2023-04-23 21:23:45 +05:30

5 lines
359 B
Text

- options_hash = local_assigns.fetch(:options_hash, groups_sort_options_hash)
- groups_sort_options = options_hash.map { |value, title| { value: value, text: title, href: filter_groups_path(sort: value) } }
%div{ data: { testid: 'group_sort_by_dropdown' } }
= gl_redirect_listbox_tag groups_sort_options, project_list_sort_by, data: { placement: 'right' }