mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Expressions
- Improved categorization by using the Triple to represent the three (raw/inferred/category) values to aid in extraction.
This commit is contained in:
parent
2d4ee13a46
commit
33bb6b6d85
5 changed files with 101 additions and 88 deletions
|
@ -264,7 +264,12 @@ void Command::filter (std::vector <Task>& input, std::vector <Task>& output)
|
|||
{
|
||||
Timer timer ("Command::filter");
|
||||
|
||||
Arguments f = context.args.extract_read_only_filter ();
|
||||
Arguments f;
|
||||
if (read_only ())
|
||||
f = context.args.extract_read_only_filter ();
|
||||
else
|
||||
f = context.args.extract_write_filter ();
|
||||
|
||||
if (f.size ())
|
||||
{
|
||||
Expression e (f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue