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>
This commit is contained in:
parent
312d3faf6f
commit
ff5f0894ad
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue