diff --git a/src/A3t.cpp b/src/A3t.cpp index 16367780c..ddb443332 100644 --- a/src/A3t.cpp +++ b/src/A3t.cpp @@ -564,12 +564,13 @@ const std::string A3t::getFilterExpression () } else if ((*i)->hasTag ("TAG")) { - // TODO +tag --> _hastag_ tag - // TODO -tag --> _notag_ tag if (filter != "") filter += ' '; - filter += ""; + if ((*i)->attribute ("sign") == "+") + filter += "tags _hastag_ " + (*i)->attribute ("tag"); + else + filter += "tags _notag_ " + (*i)->attribute ("tag"); } else if ((*i)->hasTag ("PATTERN")) {