# \[Inconsistent\] Read deck name and seed from ctx will recognize the filtered deck as the deck name

**URL:** <https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327>\
**Category:** Scheduling\
**Created:** [April 13, 2023, 1:55am UTC](https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327 "2023-04-13T01:55:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![L.M.Sherlock](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/l.m.sherlock/32/16770_2.png) [@L.M.Sherlock](https://forums.ankiweb.net/u/L.M.Sherlock)\
**Post date:** [April 13, 2023, 1:55am UTC](https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327/1 "2023-04-13T01:55:02Z")

</div>

First and foremost, thanks to @dae and @Rumo, the introduction of the context (ctx) has significantly streamlined the configuration of per-deck parameters.

But the behavior is inconsistent with `<div id=deck deck_name="{{Deck}}"></div>`. The later would always display the name of original deck. `ctx.deckName` will recognize the filtered deck as the deck name.

> <https://github.com/open-spaced-repetition/fsrs4anki/issues/213>
>
> When using filtered decks the new behavior will recognized the filtered decks na…me as the deck name, instead of the original deck the card was pulled from.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 13, 2023, 4:46am UTC](https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327/2 "2023-04-13T04:46:54Z")

</div>

Will be fixed in the next beta.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 13, 2023, 4:47am UTC](https://forums.ankiweb.net/t/inconsistent-read-deck-name-and-seed-from-ctx-will-recognize-the-filtered-deck-as-the-deck-name/29327/3 "2023-05-13T04:47:25Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
