mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TDB2
- (Partially) Converted helper code to TDB2.
This commit is contained in:
parent
6c9bebec24
commit
5d6f6e2073
1 changed files with 5 additions and 4 deletions
|
@ -136,10 +136,11 @@ std::string onProjectChange (Task& task, bool scope /* = true */)
|
|||
|
||||
std::vector <Task> all;
|
||||
std::vector <Task> none;
|
||||
context.tdb.load (all);
|
||||
|
||||
countTasks (all, project, context.tdb.getAllModified (), count_pending, count_done);
|
||||
countTasks (context.tdb.getAllModified (), project, none, count_pending, count_done);
|
||||
// TODO Fix.
|
||||
// context.tdb.load (all);
|
||||
//
|
||||
// countTasks (all, project, context.tdb.getAllModified (), count_pending, count_done);
|
||||
// countTasks (context.tdb.getAllModified (), project, none, count_pending, count_done);
|
||||
|
||||
// count_done count_pending percentage
|
||||
// ---------- ------------- ----------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue