mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
🎨 反链面板支持关键字过滤 https://github.com/siyuan-note/siyuan/issues/6178
This commit is contained in:
parent
daa7fc6300
commit
8654accc3d
1 changed files with 0 additions and 5 deletions
|
|
@ -387,11 +387,6 @@ func GetBacklink2(id, keyword, mentionKeyword string, sortMode, mentionSortMode
|
|||
tmpBackmentions := toFlatTree(mentionRefs, 0, "backlink")
|
||||
for _, l := range tmpBackmentions {
|
||||
l.Blocks = nil
|
||||
if "" != mentionKeyword {
|
||||
if !strings.Contains(l.Name, mentionKeyword) {
|
||||
continue
|
||||
}
|
||||
}
|
||||
backmentions = append(backmentions, l)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue