mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15600
This commit is contained in:
parent
7d91781e8c
commit
ed4cc1faf6
2 changed files with 8 additions and 0 deletions
|
|
@ -1275,6 +1275,10 @@ func SearchAttributeView(keyword string, excludeAvIDs []string) (ret []*AvSearch
|
|||
|
||||
trees := filesys.LoadTrees(blockIDs)
|
||||
for _, avBlock := range avBlocks {
|
||||
if 1 > len(avBlock.BlockIDs) {
|
||||
continue
|
||||
}
|
||||
|
||||
parentResult := buildSearchAttributeViewResult(avSearchTmpResults, avBlock.BlockIDs[0], trees, excludeAvIDs)
|
||||
if nil == parentResult {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue