search suggestions start

This commit is contained in:
merdan 2022-04-16 15:41:33 +05:00
parent bf0cdde599
commit b2b0aaabbf
1 changed files with 1 additions and 1 deletions

View File

@ -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;