This commit is contained in:
Russ Long 2020-02-08 15:19:00 -05:00
parent d6d42e72c0
commit fd586d30f7

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;