fix new cards not appearing in correct order in v3
This was broken by an SQLite upgrade - previously we received the rows in ix_cards_sched order, but recent versions use a table scan for that query when the order is unspecified. Solved by being explicit about the order we expect results to arrive. https://forums.ankiweb.net/t/skipping-new-cards/15410
This commit is contained in:
parent
7fcb8cbb62
commit
9daa0c9acb
@ -6,4 +6,7 @@ SELECT id,
|
|||||||
odid
|
odid
|
||||||
FROM cards
|
FROM cards
|
||||||
WHERE did = ?
|
WHERE did = ?
|
||||||
AND queue = 0
|
AND queue = 0
|
||||||
|
ORDER BY did,
|
||||||
|
queue,
|
||||||
|
due
|
Loading…
Reference in New Issue
Block a user