diff options
author | Drew Blessing <drew@gitlab.com> | 2015-12-03 09:36:45 -0600 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-12-03 09:36:45 -0600 |
commit | 11b54edf36c8d44f02004de166cf8b809df721ad (patch) | |
tree | 2c29e2136f9a5b1ef16b7dc1e45b08d6470c60df | |
parent | 76b2250c60c410121cccaea584ca5345fa30e69b (diff) | |
download | gitlab-ce-11b54edf36c8d44f02004de166cf8b809df721ad.tar.gz |
Filter current user to the top of issue assignee list
-rw-r--r-- | app/views/shared/issuable/_context.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_context.html.haml b/app/views/shared/issuable/_context.html.haml index f1646b4ce64..ced16f820cb 100644 --- a/app/views/shared/issuable/_context.html.haml +++ b/app/views/shared/issuable/_context.html.haml @@ -9,7 +9,7 @@ none .issuable-context-selectbox - if can?(current_user, :"admin_#{issuable.to_ability_name}", @project) - = users_select_tag("#{issuable.class.table_name.singularize}[assignee_id]", placeholder: 'Select assignee', class: 'custom-form-control js-select2 js-assignee', selected: issuable.assignee_id, project: @target_project, null_user: true, current_user: true) + = users_select_tag("#{issuable.class.table_name.singularize}[assignee_id]", placeholder: 'Select assignee', class: 'custom-form-control js-select2 js-assignee', selected: issuable.assignee_id, project: @target_project, null_user: true, current_user: true, first_user: true) %div.prepend-top-default.clearfix .issuable-context-title |