diff options
author | Lucas Uyezu <lucas.uyezu@gmail.com> | 2013-04-20 02:06:51 -0300 |
---|---|---|
committer | Lucas Uyezu <lucas.uyezu@gmail.com> | 2013-04-20 02:06:51 -0300 |
commit | 34d4a3c8dfdf52ec70b8fe62fe4a3f65245bbe77 (patch) | |
tree | e9b352bc96880ed94ba1768f10f54c8d158ad007 /app/views/issues | |
parent | b20bd1b6055b1dd9825ca86e78d056c7a32d7f69 (diff) | |
download | gitlab-ce-34d4a3c8dfdf52ec70b8fe62fe4a3f65245bbe77.tar.gz |
Assignees are now sorted alphabetically.
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml index 6d7613a700d..ae386961948 100644 --- a/app/views/issues/_form.html.haml +++ b/app/views/issues/_form.html.haml @@ -19,7 +19,7 @@ = f.label :assignee_id do %i.icon-user Assign to - .input= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { include_blank: "Select a user" }, {class: 'chosen'}) + .input= f.select(:assignee_id, @project.users.alphabetically.collect {|p| [ p.name, p.id ] }, { include_blank: "Select a user" }, {class: 'chosen'}) .issue_milestone.pull-left = f.label :milestone_id do %i.icon-time |