This commit is contained in:
Russ Long 2020-02-08 15:16:53 -05:00
parent c4e72a3a3a
commit a5b9522ee2

View File

@ -67,7 +67,7 @@ class TabulateWinners extends Command
$query->select('vehicle')->from('car_show_winners'); $query->select('vehicle')->from('car_show_winners');
}) })
->where('vehicles.doNotJudge', '=', "0") ->where('vehicles.doNotJudge', '=', "0")
->where('vehicles.type', '=', "$category") //->where('vehicles.type', '=', "$category")
->orderBy('totalscore', 'desc') ->orderBy('totalscore', 'desc')
->first(); ->first();
return $categoryWinnerQuery->vehicle; return $categoryWinnerQuery->vehicle;