From 2399774b52a2f7ddbd96f05db47d0e0672d3f936 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 14 Aug 2022 19:14:58 -0400 Subject: [PATCH] sorting fix --- app/Models/Vehicles.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Models/Vehicles.php b/app/Models/Vehicles.php index e250b5f..b46187a 100644 --- a/app/Models/Vehicles.php +++ b/app/Models/Vehicles.php @@ -8,6 +8,10 @@ class Vehicles extends Model { protected $table = 'vehicles'; + protected $casts = [ + 'owner' => 'integer' + ]; + protected $fillable = [ 'year', 'make',