This commit is contained in:
Russ Long 2020-02-08 15:25:40 -05:00
parent 825a192581
commit 8604d3b9f5

View File

@ -183,8 +183,8 @@ class TabulateWinners extends Command
->whereNotIn('vehicle_scores.vehicle', function ($query) { ->whereNotIn('vehicle_scores.vehicle', function ($query) {
$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;