mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 06:37:20 +02:00
Enhancements - modifiers
- Now only allows one modifier. - Removed "not", "synth", "next", "first", "last" modifiers. - Modified match logic.
This commit is contained in:
parent
5a0535c9b5
commit
bd0309b4ff
6 changed files with 160 additions and 153 deletions
|
@ -479,6 +479,15 @@ void Context::constructFilter ()
|
|||
foreach (att, task)
|
||||
if (att->first != "uuid")
|
||||
filter.push_back (att->second);
|
||||
|
||||
// TODO this doesn't work.
|
||||
if (task.has ("description"))
|
||||
{
|
||||
std::vector <std::string> words;
|
||||
split (words, task.get ("description"), ' ');
|
||||
foreach (word, words)
|
||||
filter.push_back (Att ("description", "contains", *word));
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue