mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug Fix - custom report filters
- Added support for using parent in a filter. - Fixed bug that ignored custom report filters. - Made Context::parse and Context::autoFilter reentrant.
This commit is contained in:
parent
4d43b77441
commit
b932d9b9b7
4 changed files with 67 additions and 28 deletions
12
src/Att.cpp
12
src/Att.cpp
|
@ -42,6 +42,8 @@ static const char* internalNames[] =
|
|||
"entry",
|
||||
"start",
|
||||
"end",
|
||||
"parent",
|
||||
"uuid",
|
||||
"mask",
|
||||
"imask",
|
||||
"limit",
|
||||
|
@ -378,8 +380,16 @@ bool Att::validNameValue (
|
|||
"\" is not a valid status. Use 'pending', 'completed', 'deleted' or 'recurring'.";
|
||||
}
|
||||
|
||||
else if (name == "parent")
|
||||
{
|
||||
}
|
||||
|
||||
else if (name == "uuid")
|
||||
{
|
||||
}
|
||||
|
||||
else
|
||||
throw std::string ("'") + name + "' is an unrecognized attribute.";
|
||||
throw std::string ("'") + name + "' is not a recognized attribute.";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue