This commit is contained in:
Liang Ding 2022-11-17 23:36:22 +08:00
parent daa7fc6300
commit 8654accc3d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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)
}