search fix

This commit is contained in:
merdan 2023-09-15 15:03:01 +05:00
parent 6ef8d44200
commit 36c42d5af4
1 changed files with 2 additions and 2 deletions

View File

@ -120,12 +120,12 @@ return [
'key' => env('MEILISEARCH_KEY', 'qazwsx12qazwsx12'),
'index-settings' => [
\Webkul\Product\Models\ProductFlat::class => [
// 'filterableAttributes'=> ['locale', 'channel' ],
'filterableAttributes'=> ['id','name'],
'sortableAttributes' => ['name','created_at','min_price'],
// Other settings fields...
],
Sarga\Brand\Models\Brand::class => [
// 'filterableAttributes'=> ['type' ],
'filterableAttributes'=> ['id','name'],
'sortableAttributes' => ['name','position'],
]
],