Enhancement

- When a report displays completed or deleted tasks, there is no ID,
  so display "-" instead of "0".
This commit is contained in:
Paul Beckingham 2009-07-01 21:19:22 -04:00
parent 89e1eeacd2
commit 9f4a9d1325

View file

@ -177,7 +177,10 @@ std::string runCustomReport (
int row = 0;
foreach (task, tasks)
table.addCell (row++, columnCount, task->id);
if (task->id != 0)
table.addCell (row++, columnCount, task->id);
else
table.addCell (row++, columnCount, "-");
}
else if (*col == "uuid")