diff --git a/packages/Sarga/API/Http/Controllers/Products.php b/packages/Sarga/API/Http/Controllers/Products.php index 4158d10..74b400d 100644 --- a/packages/Sarga/API/Http/Controllers/Products.php +++ b/packages/Sarga/API/Http/Controllers/Products.php @@ -178,7 +178,7 @@ class Products extends ProductController public function searchProducts() { // return $this->productRepository->searchProductByAttribute(request('key')); - return ProductResource::collection($this->productRepository->searchProductByAttributeDagdan(request('key'))); + return ProductResource::collection($this->productRepository->searchProductByAttributeDagdan(request('key'),16)); } public function discountedProducts()