zzorba / marvelsdb

MarvelsDB - a deck builders for Marvel Champions - The Card Game
49 stars 28 forks source link

Packs filter doesn't fetch decks with cards belonging to multiple packs #227

Open AlexKibo88 opened 5 months ago

AlexKibo88 commented 5 months ago

Hi,

When I search for a deck with my collection filter applied, sometimes some decks are not displayed only because certain cards belongs to a pack which is different than the one that I own, although the card is just a reprint.

For instance:

image

Here, since I don't onw the Hulk package, and this user added "Toe to Toe" to his deck, the card is shown as not available, thus the entire deck is not fetched at all. However, I happen to own the Mutant Genesis box, and "Toe to Toe" exists there too, so I should get that deck as well.

I guess, since card names are unique, the filter should be revised not only comparing maybe the ID and the original package a card belongs to, but even its name ("Toe to Toe" from Hulk, "Toe to Toe" from Mutant Genesis).

Thanks!

AlexKibo88 commented 2 weeks ago

Any updates on this issue? I wanna stress out, this bug is quite annoying, and prevents users from fetching many available decks...