浏览代码

:art: Clean code https://github.com/siyuan-note/siyuan/pull/9673

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

+ 1 - 1
kernel/model/flashcard.go

@@ -329,7 +329,7 @@ func getCardsBlocks(cards []riff.Card, page int) (blocks []*Block, total, pageCo
 		return
 	}
 
-	// sort by due date asc
+	// sort by due date asc https://github.com/siyuan-note/siyuan/pull/9673
 	sort.Slice(cards, func(i, j int) bool {
 		due1 := cards[i].(*riff.FSRSCard).C.Due
 		due2 := cards[j].(*riff.FSRSCard).C.Due