diff --git a/rslib/src/storage/revlog/time_of_last_review.sql b/rslib/src/storage/revlog/time_of_last_review.sql index ce66308f5..0b90fa065 100644 --- a/rslib/src/storage/revlog/time_of_last_review.sql +++ b/rslib/src/storage/revlog/time_of_last_review.sql @@ -2,5 +2,9 @@ SELECT id / 1000 FROM revlog WHERE cid = $1 AND ease BETWEEN 1 AND 4 + AND ( + type != 3 + OR factor != 0 + ) ORDER BY id DESC LIMIT 1 \ No newline at end of file