summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones/_issuables.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/milestones/_issuables.html.haml')
-rw-r--r--app/views/shared/milestones/_issuables.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/milestones/_issuables.html.haml b/app/views/shared/milestones/_issuables.html.haml
index a93cbd1041f..8af3bd597c5 100644
--- a/app/views/shared/milestones/_issuables.html.haml
+++ b/app/views/shared/milestones/_issuables.html.haml
@@ -13,6 +13,6 @@
- class_prefix = dom_class(issuables).pluralize
%ul{ class: "well-list #{class_prefix}-sortable-list", id: "#{class_prefix}-list-#{id}", "data-state" => id }
= render partial: 'shared/milestones/issuable',
- collection: issuables.sort_by(&:position),
+ collection: issuables.order_position_asc,
as: :issuable,
locals: { show_project_name: show_project_name, show_full_project_name: show_full_project_name }