sources api
This commit is contained in:
parent
868602b580
commit
2cd62243fa
|
|
@ -53,18 +53,18 @@ class ProductFlat extends Model implements ProductFlatContract
|
|||
{
|
||||
return 'products_index';
|
||||
}
|
||||
public function toSearchableArray():array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'sku' => $this->sku,
|
||||
'name' => $this->name,
|
||||
// 'meta_title' => $this->meta_title,
|
||||
'meta_keywords' => $this->meta_keywords,
|
||||
'status' => $this->status,
|
||||
'visible_individually' => $this->visible_individually
|
||||
];
|
||||
}
|
||||
// public function toSearchableArray():array
|
||||
// {
|
||||
// return [
|
||||
// 'id' => $this->id,
|
||||
// 'sku' => $this->sku,
|
||||
// 'name' => $this->name,
|
||||
//// 'meta_title' => $this->meta_title,
|
||||
// 'meta_keywords' => $this->meta_keywords,
|
||||
// 'status' => $this->status,
|
||||
// 'visible_individually' => $this->visible_individually
|
||||
// ];
|
||||
// }
|
||||
/**
|
||||
* Get an attribute from the model.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue