mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
✨ Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
@@ -1876,6 +1876,13 @@ func (tx *Transaction) doDuplicateAttrViewView(operation *Operation) (ret *TxErr
|
||||
})
|
||||
}
|
||||
|
||||
if nil != masterView.Group {
|
||||
if copyErr := copier.Copy(view.Group, masterView.Group); nil != copyErr {
|
||||
logging.LogErrorf("copy group failed: %s", copyErr)
|
||||
return &TxErr{code: TxErrWriteAttributeView, id: avID, msg: copyErr.Error()}
|
||||
}
|
||||
}
|
||||
|
||||
view.PageSize = masterView.PageSize
|
||||
|
||||
switch masterView.LayoutType {
|
||||
|
||||
Reference in New Issue
Block a user