order to manat

This commit is contained in:
merdan 2022-06-27 18:43:57 +05:00
parent 6fd883568d
commit 4b69f8cc4b
1 changed files with 10 additions and 1 deletions

View File

@ -56,7 +56,16 @@ 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,
];
}
/**
* Get an attribute from the model.
*