fix tabulatioin

This commit is contained in:
Russ Long 2020-02-08 15:15:08 -05:00
parent 1ce40b0eb0
commit c4e72a3a3a

View File

@ -66,7 +66,7 @@ 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();