mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
when shifting cards on reschedule, only shift new cards
This commit is contained in:
parent
4f8053b165
commit
5ac1ec2067
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ usn=:usn, mod=:mod where id=:id and odid=0""",
|
|||
shiftby = high - low + 1
|
||||
self.col.db.execute("""
|
||||
update cards set mod=?, usn=?, due=due+? where id not in %s
|
||||
and due >= ?""" % scids, now, self.col.usn(), shiftby, low)
|
||||
and due >= ? and queue = 0""" % scids, now, self.col.usn(), shiftby, low)
|
||||
# reorder cards
|
||||
d = []
|
||||
for id, nid in self.col.db.execute(
|
||||
|
|
Loading…
Reference in a new issue