🎨 搜索结果按文档分组时按块在文档中的先后排序 Fix https://github.com/siyuan-note/siyuan/issues/6749

This commit is contained in:
Liang Ding 2022-11-30 12:11:49 +08:00
parent 4f25021884
commit 3e2bddf5d8
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 22 additions and 0 deletions

View file

@ -55,6 +55,7 @@ type Block struct {
Children []*Block `json:"children"`
Depth int `json:"depth"`
Count int `json:"count"`
Sort int `json:"sort"`
}
func (block *Block) IsContainerBlock() bool {