search fix
This commit is contained in:
parent
36c42d5af4
commit
7fca435381
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue