Urgency/next

- Added 'urgency' as a reportable, sortable column.  This will allow
  us to test the urgency coefficients.  Note that this is experimental,
  and as such will not be documented.
This commit is contained in:
Paul Beckingham 2010-12-30 22:20:33 -05:00
parent 77f3269f09
commit 1b66904550
2 changed files with 20 additions and 2 deletions

View file

@ -53,6 +53,7 @@ static const char* internalNames[] =
"status",
"description",
"tags",
"urgency",
// Note that annotations are not listed.
};
@ -465,7 +466,8 @@ std::string Att::type (const std::string& name) const
else if (name == "recur")
return "duration";
else if (name == "limit")
else if (name == "limit" ||
name == "urgency")
return "number";
else if (name == "priority")