From 644b1ae7efeff3273749cd68bd85425d7e66a622 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 24 May 2014 15:18:53 -0400 Subject: [PATCH] CmdSummary - Converted from A3 to Filter. --- src/commands/CmdSummary.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/CmdSummary.cpp b/src/commands/CmdSummary.cpp index 2a32d261a..2f5ddcd40 100644 --- a/src/commands/CmdSummary.cpp +++ b/src/commands/CmdSummary.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -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 filtered; - filter (filtered); + filter.subset (filtered); context.tdb2.commit (); // Generate unique list of project names from all pending tasks.