Commit 737a27b7 authored by Frank Bergmann's avatar Frank Bergmann

- GanttEditor:

  - Deal with incomplete data if either start- or end-date are not set.
    This is possible in case of tickets and incompletely created
    timesheet_tasks.
    We now set the empty date to the respective other one.
parent 3ea8aff1
......@@ -144,6 +144,10 @@ set projects_sql "
db_multirow task_multirow task_list $projects_sql {
# By default keep the main project "open".
if {"" == $parent_id} { set expanded "true" }
# Deal with partial data if exactly one of the two start or end dates are set
if {"" == $start_date && "" != $end_date} { set start_date $end_date }
if {"" != $start_date && "" == $end_date} { set end_date $start_date }
}
# Sort the tree according to the specified sort order
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment