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
@ -7,3 +7,6 @@ SELECT id,
|
||||
FROM cards
|
||||
WHERE did = ?
|
||||
AND queue = 0
|
||||
ORDER BY did,
|
||||
queue,
|
||||
due
|
Loading…
Reference in New Issue
Block a user