mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +02:00
Use Taskchampion to store Taskwarrior data
This replaces the TF2 task files with a TaskChampion replica.
This commit is contained in:
parent
4b814bc602
commit
5bb9857984
24 changed files with 537 additions and 1362 deletions
|
@ -112,15 +112,17 @@ int CmdExport::execute (std::string& output)
|
|||
}
|
||||
else
|
||||
{
|
||||
// There is a sortOrder, so sorting will take place, which means the initial
|
||||
// order of sequence is ascending.
|
||||
// sort_tasks requires the order array initially be identity
|
||||
for (unsigned int i = 0; i < filtered.size (); ++i)
|
||||
sequence.push_back (i);
|
||||
|
||||
// Sort the tasks.
|
||||
if (sortOrder.size ()) {
|
||||
sort_tasks (filtered, sequence, reportSort);
|
||||
// if no sort order, sort by id
|
||||
if (!sortOrder.size ()) {
|
||||
reportSort = "id";
|
||||
}
|
||||
|
||||
// Sort the tasks.
|
||||
sort_tasks (filtered, sequence, reportSort);
|
||||
}
|
||||
|
||||
// Export == render.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue