dekkerglen / CubeCobra

An open source web application for building, managing, and playtesting Magic the Gathering cubes.
https://www.cubecobra.com
Apache License 2.0
186 stars 115 forks source link

Incorrect side listed for transform cards #2396

Open magreenblatt opened 1 year ago

magreenblatt commented 1 year ago

Describe the bug The front side of transform cards (like "Jace, Vryn's Prodigy") is not listed.

To Reproduce Steps to reproduce the behavior:

  1. Search for "Jace, Vryn's Prodigy" (front side). The card is not found: https://cubecobra.com/tool/searchcards?f=Jace%2C+Vryn%27s+Prodigy&p=0&s=Elo&d=descending&di=names
  2. Search for "Jace, Telepath Unbound" (back side). The card is found: https://cubecobra.com/tool/searchcards?f=Jace%2C+Telepath+Unbound&p=0&s=Elo&d=descending&di=names

Expected behavior The front side of transform cards should be listed. This is the "correct" name for the card: https://scryfall.com/card/pctb/11/jace-vryns-prodigy-jace-telepath-unbound

Best result would be searches for either name returning the same card (showing both sides in Search). They should also share the same data (Elo, etc).

Eetai commented 8 months ago

should be fixed with this: https://github.com/dekkerglen/CubeCobra/pull/2433