Bug Fix - custom reports
- Fixed bug that applied an empty sequence as a filter, which passed no tasks.
This commit is contained in:
@@ -87,11 +87,11 @@ std::string handleCustomReport (const std::string& report)
|
|||||||
// TODO Include filter from custom report.
|
// TODO Include filter from custom report.
|
||||||
context.tdb.load (tasks, context.filter);
|
context.tdb.load (tasks, context.filter);
|
||||||
handleRecurrence (tasks);
|
handleRecurrence (tasks);
|
||||||
context.tdb.commit ();
|
|
||||||
context.tdb.unlock ();
|
context.tdb.unlock ();
|
||||||
|
|
||||||
// Filter sequence.
|
// Filter sequence.
|
||||||
context.filter.applySequence (tasks, context.sequence);
|
if (context.sequence.size ())
|
||||||
|
context.filter.applySequence (tasks, context.sequence);
|
||||||
|
|
||||||
// Initialize colorization for subsequent auto colorization.
|
// Initialize colorization for subsequent auto colorization.
|
||||||
initializeColorRules ();
|
initializeColorRules ();
|
||||||
|
|||||||
Reference in New Issue
Block a user