diff --git a/src/commands/CmdUDAs.cpp b/src/commands/CmdUDAs.cpp index 83e4ad01c..eaa8dc03e 100644 --- a/src/commands/CmdUDAs.cpp +++ b/src/commands/CmdUDAs.cpp @@ -35,6 +35,7 @@ #include #include #include +#include //////////////////////////////////////////////////////////////////////////////// CmdUDAs::CmdUDAs () @@ -134,7 +135,9 @@ int CmdUDAs::execute (std::string& output) for (auto& i : filtered) { for (auto& att : i.data) - if (att.first.substr (0, 11) != "annotation_" && + if (! Task::isAnnotationAttr (att.first) && + ! Task::isTagAttr (att.first) && + ! Task::isDepAttr (att.first) && Context::getContext ().columns.find (att.first) == Context::getContext ().columns.end ()) orphans[att.first]++; }