update sorting and composer

This commit is contained in:
2022-09-26 19:12:15 -04:00
parent 1629e22b63
commit ef96dc7cd8
8 changed files with 575 additions and 478 deletions

View File

@ -34,6 +34,6 @@ class CarShowCategory extends Model
public function scopeVehtype($query)
{
return $query->where('vehicle_type', 1);
return $query->where('vehicle_type', 1)->orderBy('category_name');
}
}