mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
Enhancement - Context::filter
- Automatic filter should not include "uuid".
This commit is contained in:
parent
8bef5a90cd
commit
fc7b344a8b
1 changed files with 3 additions and 2 deletions
|
@ -440,11 +440,12 @@ std::cout << "# parse post-termination description '" << *arg << "'" << std::end
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Add all the attributes in the task to the filter.
|
// Add all the attributes in the task to the filter. All except uuid.
|
||||||
void Context::constructFilter ()
|
void Context::constructFilter ()
|
||||||
{
|
{
|
||||||
foreach (att, task)
|
foreach (att, task)
|
||||||
filter.push_back (att->second);
|
if (att->first != "uuid")
|
||||||
|
filter.push_back (att->second);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue