mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02: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"
|
sort = "c.factor"
|
||||||
elif type == "cardLapses":
|
elif type == "cardLapses":
|
||||||
sort = "c.lapses"
|
sort = "c.lapses"
|
||||||
|
elif type == "cardIvl":
|
||||||
|
sort = "c.ivl"
|
||||||
else:
|
else:
|
||||||
raise Exception()
|
raise Exception()
|
||||||
return "select c.id from cards c where %s order by %s" % (
|
return "select c.id from cards c where %s order by %s" % (
|
||||||
|
|
Loading…
Reference in a new issue