This commit is contained in:
Russ Long 2020-02-08 15:17:33 -05:00
parent a5b9522ee2
commit d6d42e72c0

View File

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