mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdBurndown
- Converted from A3 to Filter.
This commit is contained in:
parent
614331aa23
commit
581c310631
1 changed files with 7 additions and 3 deletions
|
@ -30,6 +30,7 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <Date.h>
|
||||
#include <OldDuration.h>
|
||||
#include <main.h>
|
||||
|
@ -980,8 +981,9 @@ int CmdBurndownMonthly::execute (std::string& output)
|
|||
|
||||
// Scan the pending tasks, applying any filter.
|
||||
handleRecurrence ();
|
||||
Filter filter;
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
filter.subset (filtered);
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Create a chart, scan the tasks, then render.
|
||||
|
@ -1008,8 +1010,9 @@ int CmdBurndownWeekly::execute (std::string& output)
|
|||
|
||||
// Scan the pending tasks, applying any filter.
|
||||
handleRecurrence ();
|
||||
Filter filter;
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
filter.subset (filtered);
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Create a chart, scan the tasks, then render.
|
||||
|
@ -1036,8 +1039,9 @@ int CmdBurndownDaily::execute (std::string& output)
|
|||
|
||||
// Scan the pending tasks, applying any filter.
|
||||
handleRecurrence ();
|
||||
Filter filter;
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
filter.subset (filtered);
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Create a chart, scan the tasks, then render.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue