mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement
- When a report displays completed or deleted tasks, there is no ID, so display "-" instead of "0".
This commit is contained in:
parent
89e1eeacd2
commit
9f4a9d1325
1 changed files with 4 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue