diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-02-04 12:23:44 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2016-02-04 12:23:44 +0100 |
commit | ff5f0894adbabc9a70cb93af9126d8fc19c13d0b (patch) | |
tree | a62ec6600c4158672ea34cd21e14669fea29db1c | |
parent | 312d3faf6f71e4dc7fc2870ea823115475f14c8b (diff) | |
download | gitlab-ce-new-issue-projects-sort.tar.gz |
Sort projects by last activity for new issue dropdownnew-issue-projects-sort
When creating new issue from dashboard page I want to see projects
sorted by last activity instead of ID
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/views/shared/_new_project_item_select.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_new_project_item_select.html.haml b/app/views/shared/_new_project_item_select.html.haml index 46095912821..1c58345278a 100644 --- a/app/views/shared/_new_project_item_select.html.haml +++ b/app/views/shared/_new_project_item_select.html.haml @@ -1,6 +1,6 @@ - if @projects.any? .prepend-left-10.project-item-select-holder - = project_select_tag :project_path, class: "project-item-select", data: { include_groups: local_assigns[:include_groups] } + = project_select_tag :project_path, class: "project-item-select", data: { include_groups: local_assigns[:include_groups], order_by: 'last_activity_at' } %a.btn.btn-new.new-project-item-select-button = icon('plus') = local_assigns[:label] |