search refactor

This commit is contained in:
merdan 2023-08-15 13:26:17 +05:00
parent 3518b48425
commit 3b7532429c
1 changed files with 2 additions and 0 deletions

View File

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