mirror of
https://github.com/ankitects/anki.git
synced 2025-12-10 21:36:55 -05:00
The bury new/review flags are now pulled from each card's home deck, instead of using a global setting that had not been hooked up. This unfortunately means we need to fetch the map of all decks up front, as we need to be able to look up a deck configuration for cards that are in filtered decks. Fixes a "card was modified" error caused by cards being buried during review, when they weren't removed up-front.
9 lines
No EOL
103 B
SQL
9 lines
No EOL
103 B
SQL
SELECT id,
|
|
nid,
|
|
due,
|
|
ord,
|
|
cast(mod AS integer),
|
|
odid
|
|
FROM cards
|
|
WHERE did = ?
|
|
AND queue = 0 |