mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TDB2
- Converted 'ids', '_ids' and '_zshids' to TDB2.
This commit is contained in:
parent
dde399f765
commit
c340520bcc
1 changed files with 4 additions and 5 deletions
|
@ -54,7 +54,7 @@ int CmdIDs::execute (std::string& output)
|
|||
handleRecurrence ();
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
context.tdb.commit ();
|
||||
context.tdb2.commit ();
|
||||
|
||||
// Find number of matching tasks.
|
||||
std::vector <int> ids;
|
||||
|
@ -85,7 +85,7 @@ int CmdCompletionIds::execute (std::string& output)
|
|||
handleRecurrence ();
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
context.tdb.commit ();
|
||||
context.tdb2.commit ();
|
||||
|
||||
std::vector <int> ids;
|
||||
std::vector <Task>::iterator task;
|
||||
|
@ -94,8 +94,7 @@ int CmdCompletionIds::execute (std::string& output)
|
|||
task->getStatus () != Task::completed)
|
||||
ids.push_back (task->id);
|
||||
|
||||
std::sort (ids.begin (), ids.end ());
|
||||
|
||||
std::sort (ids.begin (), ids.end ());
|
||||
std::stringstream out;
|
||||
std::vector <int>::iterator id;
|
||||
for (id = ids.begin (); id != ids.end (); ++id)
|
||||
|
@ -122,7 +121,7 @@ int CmdZshCompletionIds::execute (std::string& output)
|
|||
handleRecurrence ();
|
||||
std::vector <Task> filtered;
|
||||
filter (filtered);
|
||||
context.tdb.commit ();
|
||||
context.tdb2.commit ();
|
||||
|
||||
std::stringstream out;
|
||||
std::vector <Task>::iterator task;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue