search suggestions start
This commit is contained in:
parent
bf0cdde599
commit
b2b0aaabbf
|
|
@ -129,7 +129,7 @@ class Products extends ProductController
|
|||
->limit(10)
|
||||
->get();
|
||||
|
||||
$products = $this->productRepository->getAll();
|
||||
$products = $this->productRepository->getAll()->data->only('id','name');
|
||||
|
||||
return $products;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue