From 36c42d5af4d76dfc2e6c1a3bfc0d036da9e7efd7 Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 15 Sep 2023 15:03:01 +0500 Subject: [PATCH] search fix --- config/scout.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/scout.php b/config/scout.php index f4a935fc5..24f4acac6 100644 --- a/config/scout.php +++ b/config/scout.php @@ -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'], ] ],