mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Enhancement - Att::type
- Implemented Att::type to discern attribute types to assist with type-specific modifier evaluation. - Fixed bug that required attributes to have specified values, whereas stating "name:" means no value for name.
This commit is contained in:
parent
db0d85f5e7
commit
cdd07be331
3 changed files with 23 additions and 4 deletions
|
@ -494,7 +494,6 @@ void Context::constructFilter ()
|
|||
{
|
||||
foreach (att, task)
|
||||
{
|
||||
|
||||
// TODO this doesn't work.
|
||||
if (att->first == "description")
|
||||
{
|
||||
|
@ -503,7 +502,7 @@ void Context::constructFilter ()
|
|||
foreach (word, words)
|
||||
{
|
||||
filter.push_back (Att ("description", "has", *word));
|
||||
std::cout << "Context::constructFilter " << att->first << "=" << att->second.value () << std::endl;
|
||||
std::cout << "Context::constructFilter " << att->first << "=" << *word << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue