mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Deduplicate container block backlink https://github.com/siyuan-note/siyuan/issues/13872
This commit is contained in:
@@ -586,6 +586,7 @@ func buildLinkRefs(defRootID string, refs []*sql.Ref, keywords []string) (ret []
|
||||
}
|
||||
}
|
||||
}
|
||||
paragraphParentIDs = gulu.Str.RemoveDuplicatedElem(paragraphParentIDs)
|
||||
sqlParagraphParents := sql.GetBlocks(paragraphParentIDs)
|
||||
paragraphParents := fromSQLBlocks(&sqlParagraphParents, "", 12)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user