mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-1264
- TW-1264 Project | Tags assigned ratio of tasks (thanks to Benjamin Weber).
This commit is contained in:
parent
20fe380a5e
commit
e9178f6b34
4 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue