mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
ensure we return cards in created order when sorting
This commit is contained in:
parent
6c1239ee9c
commit
bcb9b53368
1 changed files with 1 additions and 1 deletions
|
@ -1269,7 +1269,7 @@ and due >= ? and queue = 0""" % scids, now, self.col.usn(), shiftby, low)
|
|||
self.sortCards(cids, shuffle=True)
|
||||
|
||||
def orderCards(self, did):
|
||||
cids = self.col.db.list("select id from cards where did = ?", did)
|
||||
cids = self.col.db.list("select id from cards where did = ? order by id", did)
|
||||
self.sortCards(cids)
|
||||
|
||||
def resortConf(self, conf):
|
||||
|
|
Loading…
Reference in a new issue