Bug #613
- Missing projects are now consistently reported as "(none)" in the summary chart and the projects command. Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
committed by
Paul Beckingham
parent
6b18a2842f
commit
07755e2c56
@@ -62,6 +62,9 @@
|
||||
+ Fixed bug #595, where taskwarrior ignored changes to the wait date during
|
||||
the edit command, consequently not changing task status (thanks to Eric
|
||||
Fluger).
|
||||
+ Applied patch to fix bug #613, so that the summary report and the projects
|
||||
command now consistently show a missing project as "(none)" (thanks to
|
||||
Steve Rader).
|
||||
|
||||
------ old releases ------------------------------
|
||||
|
||||
|
||||
@@ -298,7 +298,7 @@ int handleProjects (std::string& outs)
|
||||
foreach (i, unique)
|
||||
{
|
||||
int row = table.addRow ();
|
||||
table.addCell (row, 0, i->first);
|
||||
table.addCell (row, 0, (i->first == "" ? "(none)" : i->first));
|
||||
table.addCell (row, 1, i->second);
|
||||
table.addCell (row, 2, none[i->first]);
|
||||
table.addCell (row, 3, low[i->first]);
|
||||
|
||||
Reference in New Issue
Block a user