This commit is contained in:
Daniel 2023-06-08 19:28:32 +08:00
parent ccdcecec14
commit 142eecf17e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -100,7 +100,7 @@ func (tx *Transaction) doRemoveAttrViewBlock(operation *Operation) (ret *TxErr)
}
func (tx *Transaction) doAddAttrViewColumn(operation *Operation) (ret *TxErr) {
err := addAttributeViewColumn(operation.Name, operation.Typ, 1024, operation.ParentID)
err := addAttributeViewColumn(operation.Name, operation.Typ, -1, operation.ParentID)
if nil != err {
return &TxErr{code: TxErrWriteAttributeView, id: operation.ParentID, msg: err.Error()}
}