mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug Fix - custom reports
- Fixed bug that applied an empty sequence as a filter, which passed no tasks.
This commit is contained in:
parent
cdd07be331
commit
5691ed0588
1 changed files with 2 additions and 2 deletions
|
@ -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 ();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue