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:
Toshi MARUYAMA 2013-05-02 22:44:54 +00:00
parent 1a71316b37
commit 73b4b614ee
1 changed files with 1 additions and 1 deletions

View File

@ -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