Bug Fix - limit:

- The limit: attribute can now be specified on the command line, to
  override any custom report filter.
This commit is contained in:
Paul Beckingham 2009-06-18 18:34:40 -04:00
parent af606598fa
commit b9a1993692
5 changed files with 14 additions and 25 deletions

View file

@ -539,6 +539,12 @@ void Context::autoFilter (Task& t, Filter& f)
header ("auto filter: " + att->first + ".startswith:" + att->second.value ());
}
// The limit attribute does not participate in filtering, and needs to be
// specifically handled in handleCustomReport.
else if (att->first == "limit")
{
}
// Every task has a unique uuid by default, and it shouldn't be included.
// The mechanism for filtering on tags is +/-<tag>, not tags:foo which
// means that there can only be one tag, "foo".