diff --git a/app/Console/Commands/TabulateWinners.php b/app/Console/Commands/TabulateWinners.php index e1ebb00..1113af0 100644 --- a/app/Console/Commands/TabulateWinners.php +++ b/app/Console/Commands/TabulateWinners.php @@ -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;