category indexes
This commit is contained in:
parent
f7c3838430
commit
9150c75945
|
|
@ -75,7 +75,7 @@ class SearchController extends Controller
|
|||
$channel = core()->getRequestedChannelCode();
|
||||
|
||||
$locale = core()->getRequestedLocaleCode();
|
||||
$products = $this->productRepository->getModel()::search(implode(' OR ', $key))
|
||||
$products = $this->productFlatRepository->getModel()::search(implode(' OR ', $key))
|
||||
->where('status', 1)
|
||||
->where('visible_individually', 1)
|
||||
->where('channel', $channel)
|
||||
|
|
|
|||
Loading…
Reference in New Issue