From 4cae1be1a2b9c24b97ce23e85c3e1b3ef6777b9e Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 29 Sep 2022 17:47:03 +0500 Subject: [PATCH] sources api --- .../Webkul/Product/src/Repositories/ProductRepository.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/Webkul/Product/src/Repositories/ProductRepository.php b/packages/Webkul/Product/src/Repositories/ProductRepository.php index c53d47876..ebf571d5f 100755 --- a/packages/Webkul/Product/src/Repositories/ProductRepository.php +++ b/packages/Webkul/Product/src/Repositories/ProductRepository.php @@ -459,10 +459,10 @@ class ProductRepository extends Repository $queries = explode('_', $term); $results = app(ProductFlatRepository::class)->getModel()::search(implode(' OR ', $queries)) - ->where('status', 1) - ->where('visible_individually', 1) - ->where('channel', $channel) - ->where('locale', $locale) +// ->where('status', 1) +// ->where('visible_individually', 1) +// ->where('channel', $channel) +// ->where('locale', $locale) ->orderBy('product_id', 'desc') ->paginate(16); } else {