search fix
This commit is contained in:
parent
6ef8d44200
commit
36c42d5af4
|
|
@ -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'],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue