Recurrence: Broke out handleUntil as a separate function
- This means until porocesing is no longer controlled by rc.recurrence, which was never intended.
This commit is contained in:
@@ -60,6 +60,7 @@ int CmdProjects::execute (std::string& output)
|
||||
int rc = 0;
|
||||
|
||||
// Get all the tasks.
|
||||
handleUntil ();
|
||||
handleRecurrence ();
|
||||
auto tasks = context.tdb2.pending.get_tasks ();
|
||||
|
||||
@@ -178,6 +179,7 @@ CmdCompletionProjects::CmdCompletionProjects ()
|
||||
int CmdCompletionProjects::execute (std::string& output)
|
||||
{
|
||||
// Get all the tasks.
|
||||
handleUntil ();
|
||||
handleRecurrence ();
|
||||
auto tasks = context.tdb2.pending.get_tasks ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user