summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-04 11:50:02 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-04 11:50:02 +0000
commit9ae125e7e2c02ef6861f6fa09cc2d5048052a8ed (patch)
treea62ec6600c4158672ea34cd21e14669fea29db1c
parent312d3faf6f71e4dc7fc2870ea823115475f14c8b (diff)
parentff5f0894adbabc9a70cb93af9126d8fc19c13d0b (diff)
downloadgitlab-ce-9ae125e7e2c02ef6861f6fa09cc2d5048052a8ed.tar.gz
Merge branch 'new-issue-projects-sort' into 'master'
Sort projects by last activity for new issue dropdown 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> See merge request !2702
-rw-r--r--app/views/shared/_new_project_item_select.html.haml2
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]