sources api
This commit is contained in:
parent
afe4f858b8
commit
4cae1be1a2
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue