mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
✨ Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
b77f3907f7
commit
276ea42188
5 changed files with 27 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue