search suggestions start
This commit is contained in:
parent
77716bc71d
commit
b313871bbf
|
|
@ -156,7 +156,7 @@ class Products extends ProductController
|
|||
->get();
|
||||
|
||||
if($products->count()){
|
||||
$products->flatMap(fn ($value) => $value['type'] = 'product');
|
||||
$products->map(fn ($item,$key) => $item['type'] = 'product');
|
||||
}
|
||||
|
||||
// return $products->merge($brands);
|
||||
|
|
|
|||
Loading…
Reference in New Issue