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