mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
ignore filtered revlog in time of last review (#2845)
* ignore filtered revlog in time of last review * fmt SQL
This commit is contained in:
parent
a50b086b33
commit
a3363d7463
1 changed files with 4 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue