Exclude attributes starting with tag_ (#3619)
* Exclude attributes starting with tag_ * Check only for tag_*
This commit is contained in:
@@ -373,7 +373,7 @@ int CmdInfo::execute(std::string& output) {
|
|||||||
// Show any orphaned UDAs, which are identified by not being represented in
|
// Show any orphaned UDAs, which are identified by not being represented in
|
||||||
// the context.columns map.
|
// the context.columns map.
|
||||||
for (auto& att : all) {
|
for (auto& att : all) {
|
||||||
if (att.substr(0, 11) != "annotation_" && att.substr(0, 5) != "tags_" &&
|
if (att.substr(0, 11) != "annotation_" && att.substr(0, 4) != "tag_" &&
|
||||||
att.substr(0, 4) != "dep_" &&
|
att.substr(0, 4) != "dep_" &&
|
||||||
Context::getContext().columns.find(att) == Context::getContext().columns.end()) {
|
Context::getContext().columns.find(att) == Context::getContext().columns.end()) {
|
||||||
row = view.addRow();
|
row = view.addRow();
|
||||||
|
|||||||
Reference in New Issue
Block a user