fix new cards not being shown in new order
This commit is contained in:
parent
32147b2d76
commit
1f3a57104c
@ -362,7 +362,7 @@ did = ? and queue = 0 limit ?)""", did, lim)
|
|||||||
if lim:
|
if lim:
|
||||||
# fill the queue with the current did
|
# fill the queue with the current did
|
||||||
self._newQueue = self.col.db.list("""
|
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:
|
if self._newQueue:
|
||||||
self._newQueue.reverse()
|
self._newQueue.reverse()
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user