fix review cards with high intervals not being reset properly

would lead to a "fixed .. with invalid card property" message that
didn't go away
This commit is contained in:
Damien Elmes 2020-06-09 20:11:26 +10:00
parent f44597bb3a
commit 816cec4a58

View file

@ -168,7 +168,7 @@ impl super::SqliteStorage {
let mut other_cnt = self
.db
.prepare(include_str!("fix_due_other.sql"))?
.execute(params![mtime, usn, today])?;
.execute(params![today, mtime, usn])?;
other_cnt += self
.db
.prepare(include_str!("fix_odue.sql"))?