search fix

This commit is contained in:
merdan 2023-09-15 15:05:36 +05:00
parent 36c42d5af4
commit 7fca435381
1 changed files with 1 additions and 7 deletions

View File

@ -40,13 +40,7 @@ class Brand extends Model implements BrandContract
public function toSearchableArray()
{
return [
'id' => $this->id,
'name' => $this->name,
'type' => 'brand',
'position' => $this->position,
];
return $this->toArray();
}
public function shouldBeSearchable()