Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
57ebae9ba2
1 changed files with 6 additions and 0 deletions
|
@ -702,6 +702,12 @@ func getDueFlashcards(deckID string, reviewedCardIDs []string) (ret []*Flashcard
|
|||
func 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 += unreviewedCnt
|
||||
unreviewedNewCardCount += unreviewedNewCardCnt
|
||||
|
|
Loading…
Add table
Reference in a new issue