search refactor
This commit is contained in:
parent
3518b48425
commit
3b7532429c
|
|
@ -527,6 +527,8 @@ class ProductRepository extends PRepository
|
|||
|
||||
|
||||
$qb = app(ProductFlatRepository::class)->getModel()::search(implode(' OR ', $queries))
|
||||
->take($perPage)
|
||||
// ->query(fn ($query) =>)
|
||||
// ->where('status', 1)
|
||||
// ->where('visible_individually', 1)
|
||||
->where('channel', $channel)
|
||||
|
|
|
|||
Loading…
Reference in New Issue