Enhancement
- When a report displays completed or deleted tasks, there is no ID, so display "-" instead of "0".
This commit is contained in:
@@ -177,7 +177,10 @@ std::string runCustomReport (
|
|||||||
|
|
||||||
int row = 0;
|
int row = 0;
|
||||||
foreach (task, tasks)
|
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")
|
else if (*col == "uuid")
|
||||||
|
|||||||
Reference in New Issue
Block a user