Damien Elmes 2023-04-13 14:46:47 +10:00
parent bf05fae91e
commit 8f460b2ba9

View File

@ -138,7 +138,7 @@ impl SchedulingContext {
fn new(col: &mut Collection, card: &Card) -> Result<Self> { fn new(col: &mut Collection, card: &Card) -> Result<Self> {
Ok(Self { Ok(Self {
deck_name: col deck_name: col
.get_deck(card.deck_id)? .get_deck(card.original_or_current_deck_id())?
.or_not_found(card.deck_id)? .or_not_found(card.deck_id)?
.human_name(), .human_name(),
seed: card.review_seed(), seed: card.review_seed(),