浏览代码

:art: Cards expired no longer appear in the same review round https://github.com/siyuan-note/siyuan/issues/10087

Daniel 1 年之前
父节点
当前提交
bf4ba7191e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      kernel/model/flashcard.go

+ 2 - 0
kernel/model/flashcard.go

@@ -1040,6 +1040,8 @@ func getDeckDueCards(deck *riff.Deck, reviewedCardIDs, blockIDs []string, newCar
 						unreviewedOldCardCountInRound++
 						unreviewedOldCardCountInRound++
 					}
 					}
 				}
 				}
+			} else { // 已经复习过了 Cards expired no longer appear in the same review round https://github.com/siyuan-note/siyuan/issues/10087
+				continue
 			}
 			}
 		} else {
 		} else {
 			unreviewedCount++
 			unreviewedCount++