Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Show count in spaced repetition tree filter floating window https://github.com/siyuan-note/siyuan/issues/8202

Liang Ding413d13eb5756
diff --git a/kernel/model/file.go b/kernel/model/file.go
index aa08126c19..16eae65bf9 100644
--- a/kernel/model/file.go
+++ b/kernel/model/file.go
@@ -152,7 +152,7 @@ func SearchDocsByKeyword(keyword string, flashcard bool) (ret []map[string]strin
var deck *riff.Deck
var deckBlockIDs []string
if flashcard {
- deck := Decks[builtinDeckID]
+ deck = Decks[builtinDeckID]
if nil == deck {
return
}