Fix sorting, needed to turn off order by branch.

This commit is contained in:
Nathan Gray 2014-12-03 16:23:21 +00:00
parent e4ac846d2a
commit e06e8d4c32

View File

@ -71,7 +71,7 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
duration_step: 1, duration_step: 1,
show_progress: true, show_progress: true,
order_branch: true, order_branch: false,
min_column_width: 30, min_column_width: 30,
task_height: 25, task_height: 25,
fit_tasks: true, fit_tasks: true,
@ -603,6 +603,7 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
switch(egw.preference('gantt_pm_elementbars_order','projectmanager')) switch(egw.preference('gantt_pm_elementbars_order','projectmanager'))
{ {
case "pe_start": case "pe_start":
case "pe_start,pe_end":
this.gantt.sort('start_date',false); this.gantt.sort('start_date',false);
break; break;
case "pe_end": case "pe_end":