sources api

This commit is contained in:
merdan 2022-09-29 17:47:03 +05:00
parent afe4f858b8
commit 4cae1be1a2
1 changed files with 4 additions and 4 deletions

View File

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