mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
fix sorting by ease
This commit is contained in:
parent
2a225b1fae
commit
1b3548f164
1 changed files with 1 additions and 2 deletions
|
|
@ -30,7 +30,6 @@ class Finder(object):
|
|||
return []
|
||||
(q, args) = self._whereClause()
|
||||
query = self._orderedSelect(q)
|
||||
print query, args
|
||||
res = self.deck.db.list(query, **args)
|
||||
if self.deck.conf['sortBackwards']:
|
||||
res.reverse()
|
||||
|
|
@ -72,7 +71,7 @@ order by %s""" % (lim, sort)
|
|||
elif type == "cardDue":
|
||||
sort = "c.due"
|
||||
elif type == "cardEase":
|
||||
sort = "c.ease"
|
||||
sort = "c.factor"
|
||||
elif type == "cardLapses":
|
||||
sort = "c.lapses"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue