Feature #42681 ยป reduce-unnecessary-query-in-gantt-version-subject.patch
| lib/redmine/helpers/gantt.rb | ||
|---|---|---|
| 748 | 748 |
html_class << (version.behind_schedule? ? 'version-behind-schedule' : '') << " " |
| 749 | 749 |
html_class << (version.overdue? ? 'version-overdue' : '') |
| 750 | 750 |
html_class << ' version-closed' unless version.open? |
| 751 |
if version.start_date && version.due_date && version.visible_fixed_issues.completed_percent
|
|
| 751 |
if version.due_date && version.start_date && version.visible_fixed_issues.completed_percent
|
|
| 752 | 752 |
progress_date = calc_progress_date(version.start_date, |
| 753 | 753 |
version.due_date, version.visible_fixed_issues.completed_percent) |
| 754 | 754 |
html_class << ' behind-start-date' if progress_date < self.date_from |