summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones/_issuables.html.haml
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2017-06-06 15:53:31 -0300
committerFelipe Artur <felipefac@gmail.com>2017-06-16 11:59:39 -0300
commitff7fe2d12dec6c76b5a90b2c95cca81152cc5d42 (patch)
tree726116e5ec1812fa5795e77f132e6bc5a70b8a0e /app/views/shared/milestones/_issuables.html.haml
parent5f42009f8dcc29d559ee415e92c88858e361f063 (diff)
downloadgitlab-ce-ff7fe2d12dec6c76b5a90b2c95cca81152cc5d42.tar.gz
Remove Drag and drop and sorting from milestone view
Diffstat (limited to 'app/views/shared/milestones/_issuables.html.haml')
-rw-r--r--app/views/shared/milestones/_issuables.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/milestones/_issuables.html.haml b/app/views/shared/milestones/_issuables.html.haml
index 8af3bd597c5..f683b50a62a 100644
--- a/app/views/shared/milestones/_issuables.html.haml
+++ b/app/views/shared/milestones/_issuables.html.haml
@@ -11,8 +11,8 @@
= number_with_delimiter(issuables.size)
- class_prefix = dom_class(issuables).pluralize
- %ul{ class: "well-list #{class_prefix}-sortable-list", id: "#{class_prefix}-list-#{id}", "data-state" => id }
+ %ul{ class: "well-list milestone-#{class_prefix}-list", id: "#{class_prefix}-list-#{id}" }
= render partial: 'shared/milestones/issuable',
- collection: issuables.order_position_asc,
+ collection: issuables.recent,
as: :issuable,
locals: { show_project_name: show_project_name, show_full_project_name: show_full_project_name }