🎨 Database table view supports paged loading https://github.com/siyuan-note/siyuan/issues/9424

This commit is contained in:
Daniel 2023-12-08 22:00:23 +08:00
parent 9428f64384
commit 574c6612ff
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 18 additions and 9 deletions

View file

@ -775,6 +775,8 @@ func (tx *Transaction) doDuplicateAttrViewView(operation *Operation) (ret *TxErr
})
}
view.Table.PageSize = masterView.Table.PageSize
if err = av.SaveAttributeView(attrView); nil != err {
logging.LogErrorf("save attribute view [%s] failed: %s", avID, err)
return &TxErr{code: TxErrWriteAttributeView, msg: err.Error(), id: avID}