# Deleting Filtered Deck deleted cards

**URL:** <https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352>\
**Category:** Help\
**Created:** [September 23, 2022, 8:41am UTC](https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352 "2022-09-23T08:41:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DNY](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@DNY](https://forums.ankiweb.net/u/DNY)\
**Post date:** [September 23, 2022, 8:41am UTC](https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352/1 "2022-09-23T08:41:31Z")

</div>

I regularly make filtered decks to review certain tags, deleting the deck afterwards.

This time I made a filtered deck, synced, then tried to review on a different device. On the other device, despite syncing, the filtered deck did not appear in the deck list. Going back to the original device, opened Anki, the filtered deck now had the “Congratulations! You’ve finished all reviews!” message.

Weird. OK, I thought, I’ll delete that deck and re-generate it.

But when I re-generated the exact same filtered deck, this time it said there were no cards that match that tag.

Huh.

Opening the browser, all the cards that were in the filtered deck have been deleted – obviously unexpected behavior. (“No cards are deleted when you delete a filtered deck.”)

So, I tried simple Undo, cmd+Z, which undid recreating the filtered deck, but didn’t restore my deleted cards.

Beyond _why_, how do I retrieve them? My latest backup isn’t recent enough to get them back. (PS - I use zero add-ons, none).

 ![Screen Shot 2022-09-23 at 17.35.53](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/2/267cf83e1a84308c383e0d592f5b6b858ce429c6.png)

---

<div class="post-metadata">

**Author:** ![Rumo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rumo/32/1505_2.png) [@Rumo](https://forums.ankiweb.net/u/Rumo)\
**Post date:** [September 23, 2022, 9:55am UTC](https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352/2 "2022-09-23T09:55:29Z")

</div>

The good news is, I don’t think you’re cards are actually deleted. The browser should only look like that if cards were deleted _after_ it was opened or last refreshed. However, database issues may also manifest like this. This has been improved recently, so you may get more information after installing the latest release.  
Deleting the filtered deck could be entirely unrelated and the usual debugging steps may help: [When problems occur - Frequently Asked Questions](https://faqs.ankiweb.net/when-problems-occur.html) (especially ‘Check Database’).

---

<div class="post-metadata">

**Author:** ![DNY](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@DNY](https://forums.ankiweb.net/u/DNY)\
**Post date:** [September 23, 2022, 10:11am UTC](https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352/3 "2022-09-23T10:11:01Z")

</div>

Thanks for the advice.

Some good news, some weirdness.

Check Database restored the “deleted” cards. Wonderful!

I then updated to 2.1.54 Qt6…and the cards were gone again, but this time into a deck called “recovered” (and a huge integer), and all with a due date of 1954-09-05.

Interesting. Now moving them back to the original deck and setting Due Date to today. 🤔

---

<div class="post-metadata">

**Author:** ![Rumo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rumo/32/1505_2.png) [@Rumo](https://forums.ankiweb.net/u/Rumo)\
**Post date:** [September 23, 2022, 2:03pm UTC](https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352/4 "2022-09-23T14:03:08Z")

</div>

Sounds like something happened with your database, usually caused by an add-on or some other external tool. If the cards show up properly in the browser now, the issue is probably fixed for good, though.

---

<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 1, 2023, 4:02am UTC](https://forums.ankiweb.net/t/deleting-filtered-deck-deleted-cards/23352/5 "2023-05-01T04:02:29Z")

</div>

Closed on May 1, 2023, 4:02am UTC


