mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Clean code https://github.com/siyuan-note/siyuan/pull/9673
This commit is contained in:
parent
afaf88d525
commit
afef4926ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue