TIY-ATL-ROR-2016-Feb / planeswalkr

A Magic the Gathering deckbuilder
0 stars 7 forks source link

Enable Search over Colors and Card Types #38

Open kingcons opened 8 years ago

kingcons commented 8 years ago

The SearchController should take colors and card types into account.

Appropriate scopes will need to be added to the Card model and used in the SearchController.

Note that the dropdowns for Color and Type in the search form allow multiple options to be selected. The scopes should match if any of the options appear in a card's colors or card_type columns.