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'), 'key' => env('MEILISEARCH_KEY', 'qazwsx12qazwsx12'),
'index-settings' => [ 'index-settings' => [
\Webkul\Product\Models\ProductFlat::class => [ \Webkul\Product\Models\ProductFlat::class => [
// 'filterableAttributes'=> ['locale', 'channel' ], 'filterableAttributes'=> ['id','name'],
'sortableAttributes' => ['name','created_at','min_price'], 'sortableAttributes' => ['name','created_at','min_price'],
// Other settings fields... // Other settings fields...
], ],
Sarga\Brand\Models\Brand::class => [ Sarga\Brand\Models\Brand::class => [
// 'filterableAttributes'=> ['type' ], 'filterableAttributes'=> ['id','name'],
'sortableAttributes' => ['name','position'], 'sortableAttributes' => ['name','position'],
] ]
], ],