suggestion

This commit is contained in:
Kerim 2023-04-21 04:06:08 +05:00
parent 9ad20050b1
commit ae83ee4c81
1 changed files with 2 additions and 2 deletions

View File

@ -28,13 +28,13 @@ class SearchController extends V1Controller
$queries = explode(' ', $key);
$brands =$this->searchBrands($queries);
// $brands =$this->searchBrands($queries);
$products = $this->searchProducts($queries);
$categories = $this->searchCategories($queries);
return Suggestion::collection($products->merge($brands)->merge($categories)->sortBy('name'));
return Suggestion::collection($products->merge($categories)->sortBy('name'));
}