search fix
This commit is contained in:
parent
36c42d5af4
commit
7fca435381
|
|
@ -40,13 +40,7 @@ class Brand extends Model implements BrandContract
|
||||||
|
|
||||||
public function toSearchableArray()
|
public function toSearchableArray()
|
||||||
{
|
{
|
||||||
return [
|
return $this->toArray();
|
||||||
'id' => $this->id,
|
|
||||||
'name' => $this->name,
|
|
||||||
'type' => 'brand',
|
|
||||||
'position' => $this->position,
|
|
||||||
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function shouldBeSearchable()
|
public function shouldBeSearchable()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue