mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
Filter
- Added more stubbed transition code.
This commit is contained in:
parent
1561075b51
commit
6cb64e370e
1 changed files with 10 additions and 0 deletions
|
@ -179,6 +179,11 @@ void Filter::subset (std::vector <Task>& output)
|
|||
|
||||
Variant var;
|
||||
eval.evaluateCompiledExpression (var);
|
||||
// TODO Switch to this:
|
||||
/*
|
||||
if (var.get_bool ())
|
||||
output.push_back (*task);
|
||||
*/
|
||||
|
||||
// TODO Obsolete filter comparison.
|
||||
if (context.config.getBoolean ("debug"))
|
||||
|
@ -204,6 +209,11 @@ void Filter::subset (std::vector <Task>& output)
|
|||
|
||||
Variant var;
|
||||
eval.evaluateCompiledExpression (var);
|
||||
// TODO Switch to this:
|
||||
/*
|
||||
if (var.get_bool ())
|
||||
output.push_back (*task);
|
||||
*/
|
||||
|
||||
// TODO Obsolete filter comparison.
|
||||
if (oldFilter != var.get_bool ())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue