mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
🎨 Supports searching database blocks by the view title https://github.com/siyuan-note/siyuan/issues/9348
This commit is contained in:
parent
f935747ebd
commit
d0222212cf
1 changed files with 2 additions and 0 deletions
|
|
@ -145,6 +145,8 @@ func NodeStaticContent(node *ast.Node, excludeTypes []string, includeTextMarkATi
|
||||||
attrView, err := av.ParseAttributeView(node.AttributeViewID)
|
attrView, err := av.ParseAttributeView(node.AttributeViewID)
|
||||||
if nil == err {
|
if nil == err {
|
||||||
buf := bytes.Buffer{}
|
buf := bytes.Buffer{}
|
||||||
|
buf.WriteString(attrView.Name)
|
||||||
|
buf.WriteString(" ")
|
||||||
for _, v := range attrView.Views {
|
for _, v := range attrView.Views {
|
||||||
buf.WriteString(v.Name)
|
buf.WriteString(v.Name)
|
||||||
buf.WriteString(" ")
|
buf.WriteString(" ")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue