mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +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 <sstream>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <Context.h>
|
#include <Context.h>
|
||||||
|
#include <Filter.h>
|
||||||
#include <ViewText.h>
|
#include <ViewText.h>
|
||||||
#include <OldDuration.h>
|
#include <OldDuration.h>
|
||||||
#include <text.h>
|
#include <text.h>
|
||||||
|
@ -57,12 +58,11 @@ int CmdSummary::execute (std::string& output)
|
||||||
{
|
{
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
|
||||||
// Scan the pending tasks.
|
|
||||||
handleRecurrence ();
|
|
||||||
|
|
||||||
// Apply filter.
|
// Apply filter.
|
||||||
|
handleRecurrence ();
|
||||||
|
Filter filter;
|
||||||
std::vector <Task> filtered;
|
std::vector <Task> filtered;
|
||||||
filter (filtered);
|
filter.subset (filtered);
|
||||||
context.tdb2.commit ();
|
context.tdb2.commit ();
|
||||||
|
|
||||||
// Generate unique list of project names from all pending tasks.
|
// Generate unique list of project names from all pending tasks.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue