mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix new cards not being shown in new order
This commit is contained in:
parent
32147b2d76
commit
1f3a57104c
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ did = ? and queue = 0 limit ?)""", did, lim)
|
|||
if lim:
|
||||
# fill the queue with the current did
|
||||
self._newQueue = self.col.db.list("""
|
||||
select id from cards where did = ? and queue = 0 limit ?""", did, lim)
|
||||
select id from cards where did = ? and queue = 0 order by due limit ?""", did, lim)
|
||||
if self._newQueue:
|
||||
self._newQueue.reverse()
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue