- TW-1264 Project | Tags assigned ratio of tasks (thanks to Benjamin Weber).
This commit is contained in:
Paul Beckingham 2014-05-13 00:50:36 -04:00
parent 20fe380a5e
commit e9178f6b34
4 changed files with 5 additions and 1 deletions

View file

@ -1225,6 +1225,7 @@ bool Task::hasTag (const std::string& tag) const
if (tag == "UNTIL") return has ("until");
if (tag == "WAITING") return has ("wait");
if (tag == "ANNOTATED") return hasAnnotations ();
if (tag == "TAGGED") return has ("tags");
if (tag == "PARENT") return has ("mask");
if (tag == "PENDING") return get ("status") == "pending";
if (tag == "COMPLETED") return get ("status") == "completed";