Merged r11724 from trunk to 2.3-stable.
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/branches/2.3-stable@11769 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1a71316b37
commit
73b4b614ee
|
@ -675,7 +675,7 @@ module Redmine
|
||||||
start_date + (end_date - start_date + 1) * (progress / 100.0)
|
start_date + (end_date - start_date + 1) * (progress / 100.0)
|
||||||
end
|
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)
|
def sort_issues!(issues)
|
||||||
issues.sort! { |a, b| gantt_issue_compare(a, b) }
|
issues.sort! { |a, b| gantt_issue_compare(a, b) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue