mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdCount
- Converted from Command::filter to Filter::subset.
This commit is contained in:
parent
e3a1789b3f
commit
e924468de6
3 changed files with 5 additions and 4 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include <cmake.h>
|
||||
#include <Context.h>
|
||||
#include <Filter.h>
|
||||
#include <main.h>
|
||||
#include <text.h>
|
||||
#include <i18n.h>
|
||||
|
@ -49,7 +50,8 @@ int CmdCount::execute (std::string& output)
|
|||
// Apply filter.
|
||||
handleRecurrence ();
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
Filter filter;
|
||||
filter.subset (filtered);
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Find number of matching tasks. Skip recurring parent tasks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue