mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
add missing cardIvl sort
This commit is contained in:
parent
13a484ea36
commit
437b4780c0
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ order by %s""" % (lim, sort)
|
|||
sort = "c.factor"
|
||||
elif type == "cardLapses":
|
||||
sort = "c.lapses"
|
||||
elif type == "cardIvl":
|
||||
sort = "c.ivl"
|
||||
else:
|
||||
raise Exception()
|
||||
return "select c.id from cards c where %s order by %s" % (
|
||||
|
|
Loading…
Reference in a new issue