mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 02:17:21 +02:00
CLI
- No longer parenthesizes trivial filter expressions.
This commit is contained in:
parent
0fa0829670
commit
87cd22792d
1 changed files with 3 additions and 1 deletions
|
@ -362,7 +362,9 @@ const std::string CLI::getFilter ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
filter = "( " + filter + " )";
|
// Only apply parentheses for non-trivial filters.
|
||||||
|
if (filter != "")
|
||||||
|
filter = "( " + filter + " )";
|
||||||
}
|
}
|
||||||
|
|
||||||
return filter;
|
return filter;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue