mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Improve Add to Database https://github.com/siyuan-note/siyuan/issues/10659
This commit is contained in:
parent
ca9427cc82
commit
3182f7abb8
1 changed files with 15 additions and 13 deletions
|
|
@ -1236,6 +1236,7 @@ type AvSearchResult struct {
|
||||||
AvName string `json:"avName"`
|
AvName string `json:"avName"`
|
||||||
ViewName string `json:"viewName"`
|
ViewName string `json:"viewName"`
|
||||||
ViewID string `json:"viewID"`
|
ViewID string `json:"viewID"`
|
||||||
|
ViewLayout av.LayoutType `json:"viewLayout"`
|
||||||
BlockID string `json:"blockID"`
|
BlockID string `json:"blockID"`
|
||||||
HPath string `json:"hPath"`
|
HPath string `json:"hPath"`
|
||||||
Children []*AvSearchResult `json:"children,omitempty"`
|
Children []*AvSearchResult `json:"children,omitempty"`
|
||||||
|
|
@ -1396,6 +1397,7 @@ func SearchAttributeView(keyword string, excludeAvIDs []string) (ret []*AvSearch
|
||||||
AvName: existAv.AvName,
|
AvName: existAv.AvName,
|
||||||
ViewName: view.Name,
|
ViewName: view.Name,
|
||||||
ViewID: view.ID,
|
ViewID: view.ID,
|
||||||
|
ViewLayout: view.LayoutType,
|
||||||
BlockID: blockID,
|
BlockID: blockID,
|
||||||
HPath: hPath,
|
HPath: hPath,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue