mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdSummary
- Converted from A3 to Filter.
This commit is contained in:
parent
7ac1a7d5e5
commit
644b1ae7ef
1 changed files with 4 additions and 4 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <ViewText.h>
|
||||
#include <OldDuration.h>
|
||||
#include <text.h>
|
||||
|
@ -57,12 +58,11 @@ int CmdSummary::execute (std::string& output)
|
|||
{
|
||||
int rc = 0;
|
||||
|
||||
// Scan the pending tasks.
|
||||
handleRecurrence ();
|
||||
|
||||
// Apply filter.
|
||||
handleRecurrence ();
|
||||
Filter filter;
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
filter.subset (filtered);
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Generate unique list of project names from all pending tasks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue