mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 21:27:14 -05:00
fix randomizeCards() call
This commit is contained in:
parent
45c218f807
commit
1e48ce9b99
1 changed files with 1 additions and 1 deletions
|
|
@ -623,7 +623,7 @@ update cards set due = cast(
|
||||||
""", stamp=col.sched.dayCutoff, today=col.sched.today)
|
""", stamp=col.sched.dayCutoff, today=col.sched.today)
|
||||||
# possibly re-randomize
|
# possibly re-randomize
|
||||||
if col.models.randomNew():
|
if col.models.randomNew():
|
||||||
col.sched.randomizeCards()
|
col.sched.randomizeCards(1)
|
||||||
# update insertion id
|
# update insertion id
|
||||||
col.conf['nextPos'] = (
|
col.conf['nextPos'] = (
|
||||||
col.db.scalar("select max(id) from notes") or 0)+1
|
col.db.scalar("select max(id) from notes") or 0)+1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue