diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 38c669c73..62dc37d36 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -1116,17 +1116,6 @@ func SearchAttributeView(keyword string, excludeAvIDs []string) (ret []*SearchAt continue } - exist := false - for _, result := range ret { - if result.AvID == avID { - exist = true - break - } - } - if exist { - continue - } - var hPath string baseBlock := treenode.GetBlockTreeRootByPath(node.Box, node.Path) if nil != baseBlock {