summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-19 05:14:25 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-19 05:14:25 +0000
commit21b1783da39bd56f917df62deb077c539fe15bff (patch)
tree660b5ee849caf9a24b64667741fa28f0bf3dbbb8 /lib/redmine
parentba11020fdf59888d0bdb6c7208daa1a2b0a3bb50 (diff)
downloadredmine-21b1783da39bd56f917df62deb077c539fe15bff.tar.gz
redmine-21b1783da39bd56f917df62deb077c539fe15bff.zip
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
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/helpers/gantt.rb2
1 files changed, 1 insertions, 1 deletions
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