An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Alt+0 flashcard review entry no longer returns to card deck flashcards Fix https://github.com/siyuan-note/siyuan/issues/10635
Daniela73fe74a2e89
diff --git a/kernel/model/flashcard.go b/kernel/model/flashcard.goindex 34f52ab1d5..829ef654af 100644--- a/kernel/model/flashcard.go+++ b/kernel/model/flashcard.go@@ -702,6 +702,12 @@ func getDueFlashcards(deckID string, reviewedCardIDs []string) (ret []*Flashcardfunc getAllDueFlashcards(reviewedCardIDs []string) (ret []*Flashcard, unreviewedCount, unreviewedNewCardCount, unreviewedOldCardCount int) {now := time.Now()for _, deck := range Decks {+ if deck.ID != builtinDeckID {+ // Alt+0 闪卡复习入口不再返回卡包闪卡+ // Alt+0 flashcard review entry no longer returns to card deck flashcards https://github.com/siyuan-note/siyuan/issues/10635+ continue+ }+cards, unreviewedCnt, unreviewedNewCardCnt, unreviewedOldCardCnt := getDeckDueCards(deck, reviewedCardIDs, nil, Conf.Flashcard.NewCardLimit, Conf.Flashcard.ReviewCardLimit, Conf.Flashcard.ReviewMode)unreviewedCount += unreviewedCntunreviewedNewCardCount += unreviewedNewCardCnt