From 21b1783da39bd56f917df62deb077c539fe15bff Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 19 Apr 2013 05:14:25 +0000 Subject: [PATCH] add TODO comment about gantt issues sort (#7335) Sorting by date was dropped by r4581 (#7128). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11724 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/helpers/gantt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 32be436bd..f4c5d8ac0 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -675,7 +675,7 @@ module Redmine start_date + (end_date - start_date + 1) * (progress / 100.0) end - # Sorts a collection of issues by start_date, due_date, id for gantt rendering + # TODO: Sorts a collection of issues by start_date, due_date, id for gantt rendering def sort_issues!(issues) issues.sort! { |a, b| gantt_issue_compare(a, b) } end