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:
Paul Beckingham 2009-06-18 01:41:15 -04:00
parent 4d43b77441
commit b932d9b9b7
4 changed files with 67 additions and 28 deletions

View file

@ -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;
}