mirror of
https://github.com/ankitects/anki.git
synced 2025-11-12 07:37:11 -05:00
Use original deck name if card is in filtered deck
https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327
This commit is contained in:
parent
bf05fae91e
commit
8f460b2ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ impl SchedulingContext {
|
|||
fn new(col: &mut Collection, card: &Card) -> Result<Self> {
|
||||
Ok(Self {
|
||||
deck_name: col
|
||||
.get_deck(card.deck_id)?
|
||||
.get_deck(card.original_or_current_deck_id())?
|
||||
.or_not_found(card.deck_id)?
|
||||
.human_name(),
|
||||
seed: card.review_seed(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue