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.