Integration - TDB write operations
- TDB::gc rewritten. - TDB::commit fixed. - Corrected usage of handleRecurringTasks wrt TDB. - Unit tests for TDB.
This commit is contained in:
@@ -86,9 +86,12 @@ std::string handleCustomReport (const std::string& report)
|
||||
context.tdb.lock (context.config.get ("locking", true));
|
||||
// TODO Include filter from custom report.
|
||||
context.tdb.load (tasks, context.filter);
|
||||
handleRecurrence (tasks);
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
// TODO handleRecurrence (tdb, tasks);
|
||||
// Filter sequence.
|
||||
context.filter.applySequence (tasks, context.sequence);
|
||||
|
||||
// Initialize colorization for subsequent auto colorization.
|
||||
initializeColorRules ();
|
||||
|
||||
Reference in New Issue
Block a user