mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
155b2de260
commit
396450a2ec
2 changed files with 5 additions and 1 deletions
|
|
@ -4936,8 +4936,11 @@ func setAttributeViewColumnOptionDesc(operation *Operation) (err error) {
|
|||
}
|
||||
|
||||
func getAttrViewViewByBlockID(attrView *av.AttributeView, blockID string) (ret *av.View, err error) {
|
||||
node, _, _ := getNodeByBlockID(nil, blockID)
|
||||
var viewID string
|
||||
var node *ast.Node
|
||||
if "" != blockID {
|
||||
node, _, _ = getNodeByBlockID(nil, blockID)
|
||||
}
|
||||
if nil != node {
|
||||
viewID = node.IALAttr(av.NodeAttrView)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue