task <filter> export [<report>]

This commit is contained in:
Dheepak Krishnamurthy 2021-08-17 23:47:00 -06:00 committed by Tomas Babej
parent ef176478e9
commit 9ce366ddab
4 changed files with 169 additions and 4 deletions

View file

@ -102,9 +102,11 @@ int CmdCustom::execute (std::string& output)
if (reportFilter != "")
Context::getContext ().cli2.addFilter (reportFilter);
// Apply filter.
// Make sure reccurent tasks are generated.
handleUntil ();
handleRecurrence ();
// Apply filter.
Filter filter;
std::vector <Task> filtered;
filter.subset (filtered);