update sorting and composer
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user