diff --git a/src/AppBundle/Service/DecklistManager.php b/src/AppBundle/Service/DecklistManager.php index 53b90665..da131151 100755 --- a/src/AppBundle/Service/DecklistManager.php +++ b/src/AppBundle/Service/DecklistManager.php @@ -679,6 +679,7 @@ public function find(int $start = 0, int $limit = 30, Request $request, $cardsDa // Uses $cards_code because that is the number the user specified, not the number of printings. $params[] = count($cards_code); $types[] = \PDO::PARAM_INT; + $joins[] = "join decklists_with_desired_cards as dwdc ON d.id = dwdc.decklist_id"; } // If packs are specified, things get complicated because we will be filtering OUT decklists that contain cards NOT IN any of the selected packs.