search suggestions start

This commit is contained in:
merdan 2022-04-17 15:22:56 +05:00
parent 02f88476dd
commit d2c8b5b00d
1 changed files with 3 additions and 3 deletions

View File

@ -155,9 +155,9 @@ class Products extends ProductController
->orderBy('name'))
->get();
if($products->count()){
$products->flatMap(fn ($val) => $val['type']='product');
}
// if($products->count()){
// $products->flatMap(fn ($val) => $val['type']='product');
// }
// return $products->merge($brands);